Fawkes API  Fawkes Development Version
fawkes::Line Class Reference

Well, what can one say about a straight line? More...

#include <>>

List of all members.

Public Member Functions

 Line (const HomPoint &p, const HomVector &v)
 Constructor.
 Line (const HomPoint &p1, const HomPoint &p2)
 Constructor.
virtual ~Line ()
 Destructor.
Lineapply_transform (const HomTransform &t)
 Apply a transformation to the line.
Lineapply_transform_ref (const HomTransform &t)
 Apply a transformation to the line wrt.
Linetrans (float trans_x, float trans_y, float trans_z)
 Translate the object wrt.
Linetrans_ref (float trans_x, float trans_y, float trans_z)
 Translate the object wrt.
Linerotate_x (float angle)
 Rotate the object around the x-axis of its CS.
Linerotate_x_ref (float angle)
 Rotate the object around the x-axis of the reference CS.
Linerotate_y (float angle)
 Rotate the object around the y-axis of its CS.
Linerotate_y_ref (float angle)
 Rotate the object around the y-axis of the reference CS.
Linerotate_z (float angle)
 Rotate the object around the z-axis of its CS.
Linerotate_z_ref (float angle)
 Rotate the object around the z-axis of the reference CS.

Detailed Description

Well, what can one say about a straight line?


Constructor & Destructor Documentation

fawkes::Line::Line ( const HomPoint p,
const HomVector v 
)

Constructor.

Parameters:
pa point on the line ("Aufpunkt")
va vector that lies on the line

Definition at line 48 of file line.cpp.

References fawkes::HomCoord::y(), fawkes::HomCoord::x(), and fawkes::HomCoord::z().

fawkes::Line::Line ( const HomPoint p1,
const HomPoint p2 
)

Constructor.

Parameters:
p1one point that lies on the line
p2another point that lies on the line

Definition at line 79 of file line.cpp.

References fawkes::HomCoord::y(), fawkes::HomCoord::x(), and fawkes::HomCoord::z().

fawkes::Line::~Line ( ) [virtual]

Destructor.

Definition at line 107 of file line.cpp.


Member Function Documentation

Line & fawkes::Line::apply_transform ( const HomTransform t)

Apply a transformation to the line.

Parameters:
ttransform
Returns:
a reference to itself

Definition at line 117 of file line.cpp.

Line & fawkes::Line::apply_transform_ref ( const HomTransform t)

Apply a transformation to the line wrt.

the reference CS.

Parameters:
ttransform
Returns:
a reference to itself

Definition at line 130 of file line.cpp.

Line & fawkes::Line::rotate_x ( float  angle)

Rotate the object around the x-axis of its CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 173 of file line.cpp.

Line & fawkes::Line::rotate_x_ref ( float  angle)

Rotate the object around the x-axis of the reference CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 212 of file line.cpp.

Line & fawkes::Line::rotate_y ( float  angle)

Rotate the object around the y-axis of its CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 186 of file line.cpp.

Line & fawkes::Line::rotate_y_ref ( float  angle)

Rotate the object around the y-axis of the reference CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 225 of file line.cpp.

Line & fawkes::Line::rotate_z ( float  angle)

Rotate the object around the z-axis of its CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 199 of file line.cpp.

Line & fawkes::Line::rotate_z_ref ( float  angle)

Rotate the object around the z-axis of the reference CS.

Parameters:
anglethe angle
Returns:
a reference to *this

Definition at line 238 of file line.cpp.

Line & fawkes::Line::trans ( float  trans_x,
float  trans_y,
float  trans_z 
)

Translate the object wrt.

its local CS.

Parameters:
trans_xtranslation along the x-axis
trans_ytranslation along the y-axis
trans_ztranslation along the z-axis
Returns:
a reference to *this

Definition at line 145 of file line.cpp.

Line & fawkes::Line::trans_ref ( float  trans_x,
float  trans_y,
float  trans_z 
)

Translate the object wrt.

the reference CS.

Parameters:
trans_xtranslation along the x-axis
trans_ytranslation along the y-axis
trans_ztranslation along the z-axis
Returns:
a reference to *this

Definition at line 160 of file line.cpp.


The documentation for this class was generated from the following files: