|
Points&Forces (survey)
Software tools facilitating the task of surveying architecture
|
a twist class More...
#include <a_twist.h>
Inheritance diagram for a_twist:
Collaboration diagram for a_twist:Public Member Functions | |
| void | set (const a_point &p, a_point d, double t, double r) |
| void | set (double x, double y, double z, double dx, double dy, double dz, double t, double r=0.) |
| a_twist () | |
| a_twist (const a_plucker &m) | |
| a_twist (const a_point &p, a_point d, double t, double r) | |
| a_twist (double x, double y, double z, double dx, double dy, double dz, double t, double r=0.) | |
| ~a_twist () | |
| std::string | name () const |
| double | dx () const |
| p2_ : translation More... | |
| double | dy () const |
| double | dz () const |
| double | rx () const |
| p1_ : rotation (applied first, norm is rotation in radian, direction is axis of rotation) More... | |
| double | ry () const |
| double | rz () const |
| double | d () const |
| double | r () const |
| void | reset () |
| a_quaternion | quaternion () const |
| conversion routines More... | |
| void | quaternion (a_quaternion q) |
| a_mat_sq | matrix () const |
| void | matrix (const a_mat_sq &mat) |
| void | translate (const a_point &d) |
| iterative transformation More... | |
| void | translate (const double &x, const double &y, const double &z) |
| void | rotate (const a_point &pt, const a_point &dir, double v) |
| a_point | operator* (a_point p) const |
| transform a point using the screw More... | |
Public Member Functions inherited from a_plucker | |
| a_plucker () | |
| a_plucker (double ax, double ay, double az, double bx, double by, double bz) | |
| a_plucker (a_point p1, a_point p2) | |
| a_plucker (const a_plucker &m) | |
| ~a_plucker () | |
| a_point | p1 () const |
| a_point | p2 () const |
| void | p1 (const a_point &p) |
| void | p2 (const a_point &p) |
| a_plucker & | operator= (const a_plucker &m) |
| bool | operator== (const a_plucker &a) |
| a_plucker & | operator- () |
| virtual a_plucker | operator+ (const a_plucker &a) |
| a_plucker | operator- (const a_plucker &a) |
| a_plucker & | operator+= (const a_plucker &a) |
| a_plucker & | operator-= (const a_plucker &a) |
| a_plucker & | operator*= (double v) |
| a_plucker & | operator/= (double v) |
| bool | operator== (const a_plucker &a) const |
| bool | operator!= (const a_plucker &a) const |
| virtual void | read (std::istream &i) |
| virtual void | write (std::ostream &o) const |
Static Public Member Functions | |
| static const std::string | help () |
| get information about the class More... | |
Additional Inherited Members | |
Protected Attributes inherited from a_plucker | |
| a_point | p1_ |
| a_point | p2_ |
| a_twist::a_twist | ( | ) |
| a_twist::a_twist | ( | const a_point & | p, |
| a_point | d, | ||
| double | t, | ||
| double | r | ||
| ) |
| a_twist::a_twist | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz, | ||
| double | t, | ||
| double | r = 0. |
||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
get information about the class
Definition at line 112 of file a_twist.cxx.
Here is the caller graph for this function:| a_mat_sq a_twist::matrix | ( | ) | const |
| void a_twist::matrix | ( | const a_mat_sq & | mat | ) |
|
inlinevirtual |
| a_point a_twist::operator* | ( | a_point | p | ) | const |
transform a point using the screw
Definition at line 89 of file a_twist.cxx.
Here is the call graph for this function:| a_quaternion a_twist::quaternion | ( | ) | const |
conversion routines
Definition at line 156 of file a_twist.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| void a_twist::quaternion | ( | a_quaternion | q | ) |
|
inline |
| void a_twist::reset | ( | ) |
Definition at line 145 of file a_twist.cxx.
| void a_twist::rotate | ( | const a_point & | pt, |
| const a_point & | dir, | ||
| double | v | ||
| ) |
Definition at line 209 of file a_twist.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| void a_twist::set | ( | const a_point & | p, |
| a_point | d, | ||
| double | t, | ||
| double | r | ||
| ) |
p: origin of the screw d: direction of the screw (will be normalised) t: translation along the screw r: rotation around the screw
Definition at line 20 of file a_twist.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| void a_twist::set | ( | double | x, |
| double | y, | ||
| double | z, | ||
| double | dx, | ||
| double | dy, | ||
| double | dz, | ||
| double | t, | ||
| double | r = 0. |
||
| ) |
| void a_twist::translate | ( | const a_point & | d | ) |
iterative transformation
Definition at line 151 of file a_twist.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |