This class describes a horizontal datum. More...
#include <ilviews/maps/projection/hshiftdatum.h>
Public Member Functions | |
IlvHorizontalShiftDatum (const char *name, const char *regionOfUse, const IlvEllipsoid &ellipsoid, IlDouble dx, IlDouble dy, IlDouble dz) | |
Initializes an instance of the IlvHorizontalShiftDatum class. More... | |
IlvHorizontalShiftDatum (const IlvHorizontalShiftDatum &source) | |
Initializes a new instance of the IlvHorizontalShiftDatum by copying specified horizontal shift datum. More... | |
virtual IlvHorizontalDatum * | copy () const |
Returns a new copy of this IlvHorizontalShiftDatum . | |
IlBoolean | equivalent (const IlvHorizontalDatum *datum) const |
Indicates if the specified datum is equivalent to this object. More... | |
IlDouble | getDX () const |
Returns the shift on the X axis, in meters. | |
IlDouble | getDY () const |
Returns the shift on the Y axis, in meters. | |
IlDouble | getDZ () const |
Returns the shift on the Z axis, in meters. | |
const char * | getName () const |
Returns the name of the ellipsoid. | |
const char * | getRegionOfUse () const |
Returns the name of the region where the datum is used in. | |
Public Member Functions inherited from IlvHorizontalDatum | |
const IlvEllipsoid * | getEllipsoid () const |
Returns the ellipsoid for this datum. More... | |
IlvMapsError | getInitStatus () const |
Returns the initialization status of this datum. More... | |
void | save (IlvOutputFile &file) const |
Saves an instance of a subclass of IlvHorizontalDatum to the specified output file. More... | |
virtual void | write (IlvOutputFile &file) const |
Write the object to an output file. More... | |
Static Public Member Functions | |
static const IlvHorizontalShiftDatum * | WGS84 () |
The WGS84 datum. | |
Static Public Member Functions inherited from IlvHorizontalDatum | |
static const IlvHorizontalDatumConverterFactory * | GetConverterFactory () |
Returns a factory than can create converters to convert coordinates from one datum to another. More... | |
static IlvHorizontalDatum * | Load (IlvInputFile &inputFile) |
This static method loads a datum from the specified file. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from IlvHorizontalDatum | |
IlvHorizontalDatum (const IlvEllipsoid &ellipsoid) | |
Initializes a new IlvHorizontalDatum instance. More... | |
IlvHorizontalDatum (const IlvHorizontalDatum &source) | |
Initializes a new IlvHorizontalDatum instance, copying the specified datum. More... | |
IlvHorizontalDatum (IlvInputFile &file) | |
Initializes a new IlvHorizontalDatum from specified input file. More... | |
void | setInitStatus (IlvMapsError status) |
Sets the initialization status of this datum. More... | |
This class describes a horizontal datum.
Library: ilvmaps
A horizontal datum is defined by a translation of the ellipsoid. Usually, the translation is performed so that the translated ellipsoid is tangent to the geoid surface in the region of interest. An IlvHorizontalShiftDatum
object is based on the shift parameters relative to the WGS84 datum used by the Molodensky formula.
IlvMolodenskyConverter
. IlvHorizontalShiftDatum::IlvHorizontalShiftDatum | ( | const char * | name, |
const char * | regionOfUse, | ||
const IlvEllipsoid & | ellipsoid, | ||
IlDouble | dx, | ||
IlDouble | dy, | ||
IlDouble | dz | ||
) |
Initializes an instance of the IlvHorizontalShiftDatum
class.
name | Name of the datum. This string is copied. |
regionOfUse | String describing the region this datum is used. This string is copied. |
ellipsoid | The ellipsoid for this datum. |
dx | Shift on the x axis, in meters. |
dy | Shift on the y axis, in meters. |
dz | Shift on the z axis, in meters. |
IlvHorizontalShiftDatum::IlvHorizontalShiftDatum | ( | const IlvHorizontalShiftDatum & | source | ) |
Initializes a new instance of the IlvHorizontalShiftDatum
by copying specified horizontal shift datum.
source | The source datum to be copied. |
|
virtual |
Indicates if the specified datum is equivalent to this object.
datum | The datum to test against. |
IlTrue
if the specified datum describes the same coordinate system as this datum. Implements IlvHorizontalDatum.