A library for working with phylogenetic and population genetic data.
v0.32.0
SvgTransform::Matrix Struct Reference

#include <genesis/utils/formats/svg/attributes.hpp>

Detailed Description

Definition at line 492 of file attributes.hpp.

Public Member Functions

 Matrix ()=default
 
 Matrix (double a, double b, double c, double d, double e, double f)
 
 Matrix (Matrix &&)=default
 
 Matrix (Matrix const &)=default
 
 ~Matrix ()=default
 
SvgPoint apply (SvgPoint const &p) const
 
Matrixoperator= (Matrix &&)=default
 
Matrixoperator= (Matrix const &)=default
 
void write (std::ostream &out) const
 

Public Attributes

double a = 1.0
 
double b = 0.0
 
double c = 0.0
 
double d = 1.0
 
double e = 0.0
 
double f = 0.0
 

Constructor & Destructor Documentation

◆ Matrix() [1/4]

Matrix ( )
default

◆ Matrix() [2/4]

Matrix ( double  a,
double  b,
double  c,
double  d,
double  e,
double  f 
)
inline

Definition at line 502 of file attributes.hpp.

◆ ~Matrix()

~Matrix ( )
default

◆ Matrix() [3/4]

Matrix ( Matrix const &  )
default

◆ Matrix() [4/4]

Matrix ( Matrix &&  )
default

Member Function Documentation

◆ apply()

SvgPoint apply ( SvgPoint const &  p) const

Definition at line 341 of file attributes.cpp.

◆ operator=() [1/2]

Matrix& operator= ( Matrix &&  )
default

◆ operator=() [2/2]

Matrix& operator= ( Matrix const &  )
default

◆ write()

void write ( std::ostream &  out) const

Definition at line 333 of file attributes.cpp.

Member Data Documentation

◆ a

double a = 1.0

Definition at line 530 of file attributes.hpp.

◆ b

double b = 0.0

Definition at line 531 of file attributes.hpp.

◆ c

double c = 0.0

Definition at line 532 of file attributes.hpp.

◆ d

double d = 1.0

Definition at line 533 of file attributes.hpp.

◆ e

double e = 0.0

Definition at line 534 of file attributes.hpp.

◆ f

double f = 0.0

Definition at line 535 of file attributes.hpp.


The documentation for this struct was generated from the following files: