#include <Direction.h>
Collaboration diagram for srm::Direction:

Public Member Functions | |
| BaseSRF * | getSRF () const |
| Returns the SRF this Direction belongs to. | |
| void | getRefCoord (Coord3D &coord) const |
| Gets the reference coordinate. | |
| const SRM_Long_Float * | getRefCoord () const |
| Gets the reference coordinate values. | |
| void | getDir (SRM_Vector_3D &vec) const |
| Gets the direction vector. | |
| SRM_Long_Float | getVectorComp1 () const |
| Gets the first component value of the vector. | |
| SRM_Long_Float | getVectorComp2 () const |
| Gets the second component value of the vector. | |
| SRM_Long_Float | getVectorComp3 () const |
| Gets the third component value of the vector. | |
| SRM_Long_Float | getVectorComp (SRM_Integer index) const |
| Gets the nth component value of the vector. | |
| void | setVectorComp (const SRM_Long_Float comp1, const SRM_Long_Float comp2, const SRM_Long_Float comp3) |
| Sets the direction vector values. | |
| void | setVectorComp (const SRM_Integer index, const SRM_Long_Float comp) |
| Sets the direction vector values. | |
| void | setVector (const SRM_Vector_3D &vec) |
| Sets the direction vector values. | |
| bool | isEqual (const Direction &dir) const |
| Returns true if this has the same ref_coord and vector. | |
| Direction * | makeCopy () const |
| Makes a shallow copy of this Direction object. | |
Protected Member Functions | |
| Direction (BaseSRF *srf, const SRM_Long_Float ref_coord[3], const SRM_Vector_3D &vec) | |
| Constructor, requires an SRF, 3 reference coordinate values, and 3 direction values. | |
| virtual | ~Direction () |
| Destructor, releases the SRF. | |
| Direction & | operator= (const Direction &) |
| No copy constructor. | |
Protected Attributes | |
| BaseSRF * | _srf |
| The SRF this Direction belongs to. | |
| SRM_Long_Float | _ref_coord [3] |
| The reference coordinate values. | |
| SRM_Vector_3D | _vec |
| The direction values. | |
Friends | |
| class | BaseSRF_3D |
Definition at line 89 of file Direction.h.
|
|
Gets the reference coordinate.
|
|
|
Returns the SRF this Direction belongs to.
Definition at line 96 of file Direction.h. |
|
|
Gets the nth component value of the vector.
|
|
||||||||||||
|
Sets the direction vector values.
|
| Spatial Reference Model C++ API | Version 4.4 - December 7, 2009 |
| Copyright © 2009 SEDRIS | Docs by Doxygen 1.3.2 |