|
Points&Forces (core)
Software tools facilitating the task of surveying architecture
|
a coordinate system in the Points&Forces file format More...
#include <a_coord.h>
Inheritance diagram for a_coord:
Collaboration diagram for a_coord:Public Member Functions | |
| a_coord () | |
| a_coord (const std::string &aname) | |
| a_coord (const a_coord &coord) | |
| ~a_coord () | |
| virtual const std::string | classname () |
| std::string | name () const |
| void | name (const std::string &name) |
| void | deg () |
| void | rad () |
| void | mode (const bool m) |
| double | mode () const |
| void | mat (a_mat_sq &r) const |
| void | mat (const a_mat_sq &r) |
| void | R (a_mat_sq &r) const |
| void | R (const a_mat_sq &r) |
| void | T (a_mat_c &t) const |
| void | T (const a_mat_c &t) |
| void | reset () |
| void | translate (double, double, double) |
| reset to the world coordinate system More... | |
| void | translate (const a_point &p) |
| translate the coordinate system (translation in local coordinates) More... | |
| void | translateW (double, double, double) |
| void | translateW (const a_point &p) |
| translate the coordinate system (translation in world coordinates) More... | |
| void | scale (double, double, double) |
| void | scale (double) |
| scale the coordinate system More... | |
| void | rotateX (double) |
| void | rotateY (double) |
| void | rotateZ (double) |
| void | rotateXW (double) |
| void | rotateYW (double) |
| void | rotateZW (double) |
| void | orient (const a_mat_c &o, const a_mat_c &x, const a_mat_c &y) |
| void | orient (const a_point &o, const a_point &x, const a_point &y) |
| a_coord | invert () const |
| a_point | w2l (const a_point &pt) const |
| a_point | l2w (const a_point &pt) const |
| convert coordinates from world to local More... | |
| virtual void | read (std::istream &i) |
| convert coordinates from local to world More... | |
| virtual void | write (std::ostream &o) const |
Public Member Functions inherited from a_coord_base | |
| a_coord_base () | |
| a_coord_base (const a_coord_base &c) | |
Public Member Functions inherited from a_mat_sq | |
| a_mat_sq (UI i, double v=0) | |
| a_mat_sq (int i, double v=0) | |
| a_mat_sq (const a_mat &m) | |
| double | determinant () const |
| double | trace () const |
| UI | dim () const |
| void | settoI () |
| a_mat_sq & | operator= (const a_mat_sq &m) |
| a_mat_sq & | operator= (const a_mat &m) |
| ~a_mat_sq () | |
| a_mat & | operator*= (double v) |
| a_mat_sq & | operator*= (const a_mat_sq m) |
Public Member Functions inherited from a_mat | |
| a_mat (UI i, UI j, double v=0) | |
| a_mat (int i, int j, double v=0) | |
| a_mat (const a_mat &m) | |
| ~a_mat () | |
| UI | maxi () const |
| UI | maxj () const |
| UI | size () const |
| std::valarray< double > & | x () const |
| virtual double & | operator() (const UI i, const UI j) |
| virtual double | operator() (const UI i, const UI j) const |
| a_mat & | operator= (const a_mat &m) |
| bool | operator== (const a_mat &a) |
| a_mat & | operator- () |
| a_mat & | operator+= (const a_mat &a) |
| a_mat | operator+ (const a_mat &a) |
| a_mat & | operator-= (const a_mat &a) |
| a_mat | operator- (const a_mat &a) |
| a_mat & | operator*= (double v) |
| a_mat | operator* (double v) |
| a_mat & | operator/= (double v) |
| a_mat | operator/ (double v) |
| a_mat | transpose () |
| void | swapc (UI c1, UI c2) |
| void | swapr (UI r1, UI r2) |
| a_mat | sub_matrix (const UI i, const UI j) const |
Public Member Functions inherited from a_base | |
| a_base () | |
| void | read (const std::string &file_in) |
| void | write (const std::string &file_out) const |
| void | small (double tol) |
| double | small () const |
Static Public Member Functions | |
| static const std::string | help () |
Static Public Member Functions inherited from a_coord_base | |
| static const std::string | help () |
Static Public Member Functions inherited from a_mat_base | |
| static const std::string | help () |
Static Public Member Functions inherited from a_base | |
| static const std::string | help () |
Static Public Attributes | |
| static const double | pi = 3.141592653589793238 |
Protected Attributes | |
| std::string | name_ |
| bool | radian_ |
Protected Attributes inherited from a_mat | |
| UI | maxi_ |
| UI | maxj_ |
| std::valarray< double > * | x_ |
Protected Attributes inherited from a_base | |
| double | verysmall_ |
Additional Inherited Members | |
Protected Member Functions inherited from a_mat_sq | |
| void | compatible (const a_mat &m) const |
a coordinate system in the Points&Forces file format
| a_coord::a_coord | ( | ) |
Definition at line 61 of file a_coord.cxx.
| a_coord::a_coord | ( | const std::string & | aname | ) |
Definition at line 66 of file a_coord.cxx.
| a_coord::a_coord | ( | const a_coord & | coord | ) |
Definition at line 71 of file a_coord.cxx.
| a_coord::~a_coord | ( | ) |
Definition at line 75 of file a_coord.cxx.
|
inlinevirtual |
return class name: should be overridden by children classes
Reimplemented from a_coord_base.
|
static |
Definition at line 26 of file a_coord.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| a_coord a_coord::invert | ( | ) | const |
Definition at line 314 of file a_coord.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:convert coordinates from world to local
Definition at line 347 of file a_coord.cxx.
Here is the call graph for this function:| void a_coord::mat | ( | a_mat_sq & | r | ) | const |
Definition at line 85 of file a_coord.cxx.
Here is the call graph for this function:
Here is the caller graph for this function:| void a_coord::mat | ( | const a_mat_sq & | r | ) |
|
inline |
|
inline |
| void a_coord::R | ( | a_mat_sq & | r | ) | const |
| void a_coord::R | ( | const a_mat_sq & | r | ) |
|
virtual |
convert coordinates from local to world
Reimplemented from a_mat.
Definition at line 291 of file a_coord.cxx.
Here is the call graph for this function:| void a_coord::reset | ( | ) |
| void a_coord::rotateX | ( | double | t | ) |
| void a_coord::rotateXW | ( | double | t | ) |
| void a_coord::rotateY | ( | double | t | ) |
| void a_coord::rotateYW | ( | double | t | ) |
| void a_coord::rotateZ | ( | double | t | ) |
| void a_coord::rotateZW | ( | double | t | ) |
| void a_coord::scale | ( | double | s | ) |
scale the coordinate system
Definition at line 165 of file a_coord.cxx.
Here is the call graph for this function:| void a_coord::scale | ( | double | sx, |
| double | sy, | ||
| double | sz | ||
| ) |
| void a_coord::T | ( | a_mat_c & | t | ) | const |
| void a_coord::T | ( | const a_mat_c & | t | ) |
|
inline |
| void a_coord::translate | ( | double | dx, |
| double | dy, | ||
| double | dz | ||
| ) |
reset to the world coordinate system
Definition at line 141 of file a_coord.cxx.
Here is the caller graph for this function:
|
inline |
| void a_coord::translateW | ( | double | dx, |
| double | dy, | ||
| double | dz | ||
| ) |
Definition at line 148 of file a_coord.cxx.
|
virtual |
write object to stream: should be overridden by children classes
Reimplemented from a_mat.
Definition at line 308 of file a_coord.cxx.
Here is the call graph for this function: