Views
Maps Package API Reference Guide
Product Documentation:
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 a new IlvMolodenskyConverter instance.
 
virtual IlvMapsError convert (const IlvHorizontalDatum *, const IlvHorizontalDatum *, IlvCoordinate &) const
 Converts the ll coordinates expressed in sourceDatum to coordinates in targetDatum. More...
 

Detailed Description

This class implements an IlvHorizontalDatumConverter using the Molodensky formula.

Library: ilvmaps

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

Member Function Documentation

◆ convert()

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.