rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Maps Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvHorizontalDatumConverter Class Reference

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

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

Inheritance diagram for IlvHorizontalDatumConverter:
IlvMolodenskyConverter

List of all members.

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.

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

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:
sourceDatum Datum in which the input coordinates are expressed.
targetDatum Datum in which the input coordinates are converted.
ll Coordinates, 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.

 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.