Class xlifepp::Homothety#
-
class Homothety : public xlifepp::Transformation#
-
Inheritance diagram for xlifepp::Homothety:
Collaboration diagram for xlifepp::Homothety:
representation of an homothety from a center and a factor
Subclassed by xlifepp::PointReflection
Public Functions
-
Homothety(const Point &c = Point(0., 0., 0.), real_t factor = 1.)#
-
default constructor from a center and a factor
-
inline virtual ~Homothety()#
-
destructor
-
inline virtual Transformation *clone() const#
-
virtual copy constructor
-
inline real_t factor() const#
-
returns the scale factor of the homothety
-
virtual void print(std::ostream&) const#
-
print Transformation
-
Homothety(const Point &c = Point(0., 0., 0.), real_t factor = 1.)#