Rogue Wave Views
Maps Package API Reference Guide
Product Documentation:

Rogue Wave Views
Documentation Home
List of all members | Public Member Functions
IlvMolodenskyConverter Class Reference

This class implements an IlvHorizontalDatumConverter using the Molodensky formula. More...

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

Inheritance diagram for IlvMolodenskyConverter:
IlvHorizontalDatumConverter

Public Member Functions

 IlvMolodenskyConverter ()
 Initializes an instance of the IlvMolodenskyConverter class.
 
virtual IlvMapsError convert (const IlvHorizontalDatum *sourceDatum, const IlvHorizontalDatum *targetDatum, IlvCoordinate &ll) const
 Converts the ll coordinates expressed in sourceDatum to coordinates in targetDatum. More...
 

Detailed Description

This class implements an IlvHorizontalDatumConverter using the Molodensky formula.

This class can convert coordinates from one IlvHorizontalShiftDatum to another. The conversion algorithm uses the Molodensky formula. Library: ilvmaps

Member Function Documentation

virtual IlvMapsError IlvMolodenskyConverter::convert ( const IlvHorizontalDatum sourceDatum,
const IlvHorizontalDatum targetDatum,
IlvCoordinate ll 
) const
virtual

Converts the ll coordinates expressed in sourceDatum to coordinates in targetDatum.

Converts the ll coordinates representing a geodetic latitude and longitude expressed in the sourceDatum horizontal datum, into a coordinate representing the geodetic latitude and longitude, expressed in the targetDatum horizontal datum.

Parameters
sourceDatumDatum in which the input coordinates are expressed.
targetDatumDatum in which the input coordinates are converted.
llCoordinates, in radian (ll.x = longitude, ll.y = latitude). After the call, this IlvCoordinate holds the result.
Returns
IlvMaps::NoError() if the conversion is successful.

Implements IlvHorizontalDatumConverter.


© Copyright 2016, 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.