Class xlifepp::Rotation3d#
-
class Rotation3d : public xlifepp::Transformation#
-
Inheritence diagram for xlifepp::Rotation3d:
Collaboration diagram for xlifepp::Rotation3d:
representation of a rotation from an axis ( a point and a vector ) and an angle
Public Functions
-
Rotation3d()#
-
default constructor
-
inline Rotation3d(const Parameter &p1, const Parameter &p2, const Parameter &p3)#
-
main constructor from 3 keys
-
inline Rotation3d(const Point &c, real_t dx, real_t dy, real_t angle)#
-
constructor with direction given with 2 reals
-
inline Rotation3d(const Point &c, real_t dx, real_t dy, real_t dz, real_t angle)#
-
constructor with direction given with 3 reals
-
inline Rotation3d(const Point &c, std::vector<real_t> d, real_t angle)#
-
constructor with a vector of real numbers
-
inline virtual ~Rotation3d()#
-
destructor
-
inline real_t angle() const#
-
accessor to rotation angle
-
inline const std::vector<real_t> &axisDirection() const#
-
accessor to rotation axis direction
-
inline virtual Transformation *clone() const#
-
virtual copy constructor
-
virtual void print(std::ostream&) const#
-
print Transformation
-
inline virtual Rotation3d *rotation3d()#
-
access to child Rotation3d object
-
inline virtual const Rotation3d *rotation3d() const#
-
access to child Rotation3d object (const)
-
Rotation3d()#