#include <Coord.h>
Inheritance diagram for srm::Coord:
Public Types | |
enum | Coord_ClassType { COORD_TYP_TWO_D, COORD_TYP_SURFACE, COORD_TYP_THREE_D, COORD_TYP_LSA, COORD_TYP_CC, COORD_TYP_CD, COORD_TYP_SURF_CD, COORD_TYP_CM, COORD_TYP_EC, COORD_TYP_SURF_EC, COORD_TYP_EI, COORD_TYP_HAEC, COORD_TYP_HEEC, COORD_TYP_HEEQ, COORD_TYP_LCC, COORD_TYP_SURF_LCC, COORD_TYP_LCE_3D, COORD_TYP_LSR_3D, COORD_TYP_LSR_2D, COORD_TYP_LTSAS, COORD_TYP_SURF_LTSAS, COORD_TYP_LTSC, COORD_TYP_SURF_LTSC, COORD_TYP_LTSE, COORD_TYP_SURF_LTSE, COORD_TYP_M, COORD_TYP_SURF_M, COORD_TYP_OMS, COORD_TYP_SURF_OMS, COORD_TYP_LSP, COORD_TYP_PS, COORD_TYP_SURF_PS, COORD_TYP_PD, COORD_TYP_SURF_PD, COORD_TYP_SEC, COORD_TYP_SEQ, COORD_TYP_SME, COORD_TYP_SMD, COORD_TYP_TM, COORD_TYP_SURF_TM } |
The type of a coordinate. | |
Public Member Functions | |
BaseSRF * | getSRF () const |
Returns the SRF this coordinate belongs to. | |
virtual Coord_ClassType | getClassType () const=0 |
Returns the class type of this coordinate. | |
virtual bool | isA (Coord_ClassType type) const |
Returns true if this coordinate is of the given class type. | |
virtual const char * | toString ()=0 |
Returns a string of the coodinate component values. | |
Protected Member Functions | |
Coord (BaseSRF *srf) | |
Constructor, requires an SRF. | |
Coord & | operator= (const Coord &coord) |
copy constructor we do not copy the _srf because the coordinate should never switch from one srf to another. | |
virtual | ~Coord () |
Destructor, releases the SRF. | |
Protected Attributes | |
BaseSRF * | _srf |
The SRF this coordinate belongs to. |
Coordinates can be allocated on the stack, by using "new" and "delete", or by using the SRF class methods. If you use an SRF class method to create a coordinate, you should call the corresponding "freeCoordinate" method to free it.
Definition at line 33 of file Coord.h.
Spatial Reference Model C++ API | Version 4.1 - 26 Jun 2006 |
Copyright © 2006 SEDRIS | Docs by Doxygen 1.3.2 |