rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvHorizontalShiftDatum Class Reference

This class describes a horizontal datum. More...

#include <ilviews/maps/projection/hshiftdatum.h>

Inheritance diagram for IlvHorizontalShiftDatum:
IlvHorizontalDatum

List of all members.

Public Member Functions

 IlvHorizontalShiftDatum (const IlvHorizontalShiftDatum &source)
 Initializes a new instance of the IlvHorizontalShiftDatum by copying specified horizontal shift datum.
 IlvHorizontalShiftDatum (const char *name, const char *regionOfUse, const IlvEllipsoid &ellipsoid, IlDouble dx, IlDouble dy, IlDouble dz)
 Initializes an instance of the IlvHorizontalShiftDatum class.
virtual IlvHorizontalDatumcopy () const
 Returns a new copy of this IlvHorizontalShiftDatum.
IlBoolean equivalent (const IlvHorizontalDatum *datum) const
 Returns IlTrue if the specified datum is equivalent to this.
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.
virtual void write (IlvOutputFile &) const
 Write the object to an IlvOutputFile.

Static Public Member Functions

static const
IlvHorizontalShiftDatum
WGS84 ()
 The WGS84 datum.

Detailed Description

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.

See also:
IlvMolodenskyConverter.

Constructor & Destructor Documentation

IlvHorizontalShiftDatum::IlvHorizontalShiftDatum ( const char *  name,
const char *  regionOfUse,
const IlvEllipsoid ellipsoid,
IlDouble  dx,
IlDouble  dy,
IlDouble  dz 
)

Initializes an instance of the IlvHorizontalShiftDatum class.

Parameters:
name Name of the datum. This string is duplicated by the constructor.
regionOfUse String describing the region this datum is used. This string is duplicated by the constructor.
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.

Parameters:
source The source datum to be copied.

Member Function Documentation

IlBoolean IlvHorizontalShiftDatum::equivalent ( const IlvHorizontalDatum d  )  const [virtual]

Returns IlTrue if the specified datum is equivalent to this.

Parameters:
datum The datum to test against.
Returns:
IlTrue if the specified datum describes the same coordinate system as this datum.

Implements IlvHorizontalDatum.

virtual void IlvHorizontalShiftDatum::write ( IlvOutputFile file  )  const [virtual]

Write the object to an IlvOutputFile.

This method saves the parameters of a horizontal datum to the specified output file. This method has to be overridden by subclasses of IlvHorizontalDatum that need to save additional parameters.

This method should not be directly called. The method save() should be used instead.

Parameters:
file The output file.

Reimplemented from IlvHorizontalDatum.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.