NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
IProjection Class Referenceabstract

Provides access to members that control the properties and methods for the projection.
More...

#include <crs_projection.h>

Inheritance diagram for IProjection:
IUTMProjection

Public Member Functions

virtual SDKResult SDK_CALLTYPE GetProjectionClassName (SDKString &class_name) const =0 throw ()
 Gets the projection classification name (e.g. 'Mercator' or 'Transverse_Mercator').
 
virtual SDKResult SDK_CALLTYPE SetProjectionClassName (const SDKString &class_name)=0 throw ()
 Sets the projection classification name (e.g. 'Mercator' or 'Transverse_Mercator').
 
virtual SDKResult SDK_CALLTYPE GetProjectionClassID (ProjectionClassID &id) const =0 throw ()
 Gets the projection classification identifier.
 
virtual SDKResult SDK_CALLTYPE SetProjectionClassID (ProjectionClassID class_id)=0 throw ()
 Sets the projection classification identifier.
 
virtual SDKResult SDK_CALLTYPE GetProjectionParameters (IProjectionParameters **projection_parameters) const =0 throw ()
 Gets the projection parameters.
 
virtual SDKResult SDK_CALLTYPE SetProjectionParameters (IProjectionParameters *projection_parameters)=0 throw ()
 Sets the projection parameters.
 
virtual SDKResult SDK_CALLTYPE Clone (IProjection **clone)=0 throw ()
 Creates the clone of this projection. More...
 
virtual SDKResult SDK_CALLTYPE GetProjectionProperty (const ProjectionPropertyEnum &id, SDKAny &val)=0 throw ()
 Retrieves the projection property. More...
 
virtual SDKResult SDK_CALLTYPE GetLocalScale (double lat, double lon, double &scale) const =0 throw ()
 Returns the scale at specified position. More...
 

Detailed Description

Provides access to members that control the properties and methods for the projection.

Member Function Documentation

◆ Clone()

virtual SDKResult SDK_CALLTYPE Clone ( IProjection **  clone)
throw (
)
pure virtual

Creates the clone of this projection.

Parameters
[out]cloneAddress of a variable that receives the IProjection interface associated with projection clone.
Returns
Ok
Err_InvalidArg

◆ GetProjectionProperty()

virtual SDKResult SDK_CALLTYPE GetProjectionProperty ( const ProjectionPropertyEnum &  id,
SDKAny &  val 
)
throw (
)
pure virtual

Retrieves the projection property.

Parameters
[in]idThe projection property identifier.
[out]valThe projection property value, specified by id.
Returns
kSDKResult_Succeeded
kSDKResult_NoExist

◆ GetLocalScale()

virtual SDKResult SDK_CALLTYPE GetLocalScale ( double  lat,
double  lon,
double &  scale 
) const
throw (
)
pure virtual

Returns the scale at specified position.

Parameters
[in]latLatitude of position.
[in]lonLongitude of position.
[out]scaleThe local scale at position.
Returns
kSDKResult_Succeeded
kSDKResult_NoExist

The documentation for this class was generated from the following file: