Public Member Functions | |
| BaseSRF | getSRF () |
| Returns the SRF this Direction belongs to. | |
| Coord3D | getRefCoord () throws SrmException |
| Returns a clone (copy) of the reference coordinate object. | |
| double[] | getVec () |
| Returns the direction component values. | |
| double | getVectorComp1 () |
| Return the values of the 1st vector component. | |
| double | getVectorComp2 () |
| Return the values of the 2nd direction vector component. | |
| double | getVectorComp3 () |
| Return the values of the 3rd direction vector component. | |
| double | getVectorComp (int n) throws SrmException |
| Return the values of the Nth direction vector component. | |
| void | setVec (double[] vec) throws SrmException |
| sets the direction vector component values | |
| void | setVectorComp (double comp1, double comp2, double comp3) |
| sets the values of the direction vector | |
| void | setVectorComp (int n, double comp) throws SrmException |
| sets the value of the Nth component of direction vector | |
| void | copyTo (Direction dir) throws SrmException |
| Copies the vector component values of this direction to the input direction. | |
| Direction | makeClone () throws SrmException |
| Returns the shallow copy of this object instance. | |
| boolean | isEqual (Direction dir) |
| Returns TRUE if the Direction parameters are "Equal". | |
| String | toString () |
| Gets the reference coordinate associated with the Returns the values of the vector as "[ val1, val2, val3 ]". | |
Protected Member Functions | |
| Direction (BaseSRF srf, Coord3D ref_coord, double vec[]) | |
| Constructor, requires an SRF, 3 reference coordinate values, and 3 direction values. | |
| Coord3D | getInternalRefCoord () |
| Returns the actual reference coordinate object associated with the Direction. | |
Protected Attributes | |
| Coord3D | _ref_coord |
| The reference coordinate. | |
| double[] | _vec = new double[3] |
| The vector values. | |
|
|
Copies the vector component values of this direction to the input direction.
|
|
|
Return the values of the Nth direction vector component.
|
|
|
Returns TRUE if the Direction parameters are "Equal".
|
|
|
Returns the shallow copy of this object instance.
|
|
||||||||||||
|
sets the value of the Nth component of direction vector
|
| Spatial Reference Model Java API | Version 4.4.0 - January 21, 2010 |
| Copyright © 2010 SEDRIS | Docs by Doxygen 1.3.2 |