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