Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
List of all members | Public Member Functions
IlvHorizontalDatumConverter Class Referenceabstract

The abstract class for all datum converters. More...

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

Inheritance diagram for IlvHorizontalDatumConverter:
IlvMolodenskyConverter

Public Member Functions

virtual IlvMapsError convert (const IlvHorizontalDatum *sourceDatum, const IlvHorizontalDatum *targetDatum, IlvCoordinate &ll) const =0
 Converts the ll coordinates expressed in sourceDatum to coordinates in targetDatum. More...
 

Detailed Description

The abstract class for all datum converters.

Library: ilvmaps

This class is the base class of all classes providing services to convert coordinates from one horizontal datum to another.

Member Function Documentation

◆ convert()

virtual IlvMapsError IlvHorizontalDatumConverter::convert ( const IlvHorizontalDatum sourceDatum,
const IlvHorizontalDatum targetDatum,
IlvCoordinate ll 
) const
pure 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.

Implemented in IlvMolodenskyConverter.