Class xlifepp::Homothety#

class Homothety : public xlifepp::Scaling#

Inheritence diagram for xlifepp::Homothety:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "1" [label="xlifepp::Homothety" tooltip="xlifepp::Homothety" fillcolor="#BFBFBF"] "4" [label="xlifepp::PointReflection" tooltip="xlifepp::PointReflection"] "2" [label="xlifepp::Scaling" tooltip="xlifepp::Scaling"] "3" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "4" -> "1" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::Homothety:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="xlifepp::Matrix< real_t >" tooltip="xlifepp::Matrix< real_t >"] "9" [label="xlifepp::Vector< real_t >" tooltip="xlifepp::Vector< real_t >"] "6" [label="std::vector< T >" tooltip="std::vector< T >"] "8" [label="std::vector< K >" tooltip="std::vector< K >"] "11" [label="std::vector< const xlifepp::Transformation * >" tooltip="std::vector< const xlifepp::Transformation * >"] "5" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "1" [label="xlifepp::Homothety" tooltip="xlifepp::Homothety" fillcolor="#BFBFBF"] "7" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "12" [label="xlifepp::Point" tooltip="xlifepp::Point"] "2" [label="xlifepp::Scaling" tooltip="xlifepp::Scaling"] "3" [label="xlifepp::Transformation" tooltip="xlifepp::Transformation"] "10" [label="xlifepp::Vector< K >" tooltip="xlifepp::Vector< K >"] "4" -> "5" [dir=forward tooltip="public-inheritance"] "4" -> "7" [dir=forward tooltip="template-instance"] "9" -> "5" [dir=forward tooltip="public-inheritance"] "9" -> "10" [dir=forward tooltip="template-instance"] "8" -> "6" [dir=forward tooltip="template-instance"] "11" -> "6" [dir=forward tooltip="template-instance"] "5" -> "6" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "7" -> "8" [dir=forward tooltip="public-inheritance"] "12" -> "5" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "2" -> "12" [dir=forward tooltip="usage"] "2" -> "5" [dir=forward tooltip="usage"] "3" -> "4" [dir=forward tooltip="usage"] "3" -> "9" [dir=forward tooltip="usage"] "3" -> "11" [dir=forward tooltip="usage"] "10" -> "8" [dir=forward tooltip="public-inheritance"] }

representation of an homothety from a center and a factor

Subclassed by xlifepp::PointReflection

Public Functions

inline Homothety()#

default constructor

inline Homothety(const Parameter &p1)#

main constructor from one key

inline Homothety(const Parameter &p1, const Parameter &p2)#

main constructor from 2 keys

inline Homothety(const Point &c, real_t factor = 1.)#

constructor from a center and a factor

inline Homothety(const std::vector<Parameter> &ps)#

main constructor from a vector of keys

inline virtual ~Homothety()#

destructor

inline virtual Transformation *clone() const#

virtual copy constructor

inline real_t factor() const#

returns the scale factor of the homothety

inline virtual Homothety *homothety()#

access to child Homothety object

inline virtual const Homothety *homothety() const#

access to child Homothety object (const)

virtual void print(std::ostream&) const#

print Transformation