Class xlifepp::PointReflection#

class PointReflection : public xlifepp::Homothety#

Inheritance diagram for xlifepp::PointReflection:

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

Collaboration diagram for xlifepp::PointReflection:

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 >"] "2" [label="xlifepp::Homothety" tooltip="xlifepp::Homothety"] "7" [label="xlifepp::Matrix< K >" tooltip="xlifepp::Matrix< K >"] "12" [label="xlifepp::Point" tooltip="xlifepp::Point"] "1" [label="xlifepp::PointReflection" tooltip="xlifepp::PointReflection" fillcolor="#BFBFBF"] "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"] "2" -> "3" [dir=forward tooltip="public-inheritance"] "2" -> "12" [dir=forward tooltip="usage"] "7" -> "8" [dir=forward tooltip="public-inheritance"] "12" -> "5" [dir=forward tooltip="public-inheritance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "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 a point symmetry it is an homothety of factor -1.

Public Functions

PointReflection(const Point &c = Point(0., 0., 0.))#

constructor from a center

inline virtual ~PointReflection()#

destructor

virtual Point apply(const Point &p) const#

computes the image of a point by the transformation

inline virtual Transformation *clone() const#

virtual copy constructor

inline virtual PointReflection *pointReflection()#

access to child PointReflection object

inline virtual const PointReflection *pointReflection() const#

access to child PointReflection object (const)

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

print Transformation