#include <geometry/line.h>
Public Member Functions | |
Line (const HomPoint &p, const HomVector &v) | |
Constructor. | |
Line (const HomPoint &p1, const HomPoint &p2) | |
Constructor. | |
virtual | ~Line () |
Destructor. | |
Line & | apply_transform (const HomTransform &t) |
Apply a transformation to the line. | |
Line & | apply_transform_ref (const HomTransform &t) |
Apply a transformation to the line wrt. | |
Line & | trans (float trans_x, float trans_y, float trans_z) |
Translate the object wrt. | |
Line & | trans_ref (float trans_x, float trans_y, float trans_z) |
Translate the object wrt. | |
Line & | rotate_x (float angle) |
Rotate the object around the x-axis of its CS. | |
Line & | rotate_x_ref (float angle) |
Rotate the object around the x-axis of the reference CS. | |
Line & | rotate_y (float angle) |
Rotate the object around the y-axis of its CS. | |
Line & | rotate_y_ref (float angle) |
Rotate the object around the y-axis of the reference CS. | |
Line & | rotate_z (float angle) |
Rotate the object around the z-axis of its CS. | |
Line & | rotate_z_ref (float angle) |
Rotate the object around the z-axis of the reference CS. |
Definition at line 31 of file line.h.
Constructor.
p | a point on the line ("Aufpunkt") | |
v | a vector that lies on the line |
Definition at line 48 of file line.cpp.
References fawkes::HomCoord::x(), fawkes::HomCoord::y(), and fawkes::HomCoord::z().
Constructor.
p1 | one point that lies on the line | |
p2 | another point that lies on the line |
Definition at line 79 of file line.cpp.
References fawkes::HomCoord::x(), fawkes::HomCoord::y(), and fawkes::HomCoord::z().
Line & fawkes::Line::apply_transform | ( | const HomTransform & | t | ) |
Line & fawkes::Line::apply_transform_ref | ( | const HomTransform & | t | ) |
Line & fawkes::Line::rotate_x | ( | float | angle | ) |
Line & fawkes::Line::rotate_x_ref | ( | float | angle | ) |
Line & fawkes::Line::rotate_y | ( | float | angle | ) |
Line & fawkes::Line::rotate_y_ref | ( | float | angle | ) |
Line & fawkes::Line::rotate_z | ( | float | angle | ) |
Line & fawkes::Line::rotate_z_ref | ( | float | angle | ) |
Line & fawkes::Line::trans | ( | float | trans_x, | |
float | trans_y, | |||
float | trans_z | |||
) |
Line & fawkes::Line::trans_ref | ( | float | trans_x, | |
float | trans_y, | |||
float | trans_z | |||
) |