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

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

#include <crs_coordinate_transformation.h>

Inherits ISDKComponent.

Public Member Functions

virtual SDKResult SDK_CALLTYPE Forward (SDKUInt32 count, SDKAnyType in_type, const void *in_points, SDKAnyType out_type, void *out_points)=0 throw ()
 Projects points from geographic to planar coordinates. More...
 
virtual SDKResult SDK_CALLTYPE Inverse (SDKUInt32 count, SDKAnyType in_type, const void *in_points, SDKAnyType out_type, void *out_points)=0 throw ()
 Projects points from planar to geographic coordinates. More...
 
virtual SDKResult SDK_CALLTYPE GetTargetCoordinateSystem (IHorizontalCoordinateSystem **coordinate_system) const =0 throw ()
 Gets the target coordinate system.
 
virtual SDKResult SDK_CALLTYPE SetTargetCoordinateSystem (IHorizontalCoordinateSystem *coordinate_system)=0 throw ()
 Sets the target coordinate system.
 
virtual SDKResult SDK_CALLTYPE GetSourceCoordinateSystem (IHorizontalCoordinateSystem **coordinate_system) const =0 throw ()
 Gets the source coordinate system.
 
virtual SDKResult SDK_CALLTYPE SetSourceCoordinateSystem (IHorizontalCoordinateSystem *coordinate_system)=0 throw ()
 Sets the source coordinate system.
 
template<class _IType , class _OType >
SDKResult Forward (SDKUInt32 count, const _IType *inp, _OType *out)
 Template helper for Forward method.
 
template<class _IType , class _OType >
SDKResult Inverse (SDKUInt32 count, const _IType *inp, _OType *out)
 Template helper for Inverse method.
 
SDKResult SDK_CALLTYPE ForwardDD (SDKUInt32 count, const SDKPointD2D *in, SDKPointD2D *out)
 Helpers for Forward method. More...
 
SDKResult SDK_CALLTYPE ForwardDF (SDKUInt32 count, const SDKPointD2D *in, SDKPointF2D *out)
 Forward transformation of geographic coordinates in degree units to projected coordinates in float.
 
SDKResult SDK_CALLTYPE ForwardID (SDKUInt32 count, const SDKGeoIntPoint *in, SDKPointD2D *out)
 Forward transformation of geographic coordinates in GeoInt units to projected coordinates in double.
 
SDKResult SDK_CALLTYPE ForwardIF (SDKUInt32 count, const SDKGeoIntPoint *in, SDKPointF2D *out)
 Forward transformation of geographic coordinates in GeoInt units to projected coordinates in float.
 
SDKResult SDK_CALLTYPE ForwardII (SDKUInt32 count, const SDKGeoIntPoint *in, SDKPointI2D *out)
 Forward transformation of geographic coordinates in GeoInt units to projected coordinates in integers.
 
SDKResult SDK_CALLTYPE Forward3D3D (SDKUInt32 count, const SDKPointD3D *in, SDKPointD3D *out)
 Forward transformation of geographic coordinates in degree units to projected coordinates in d3d.
 
SDKResult SDK_CALLTYPE Forward3D3F (SDKUInt32 count, const SDKPointD3D *in, SDKPointF3D *out)
 Forward transformation of geographic coordinates in degree units to projected coordinates in d3d.
 
SDKResult SDK_CALLTYPE InverseDD (SDKUInt32 count, const SDKPointD2D *in, SDKPointD2D *out)
 Helpers for Inverse method. More...
 
SDKResult SDK_CALLTYPE InverseDI (SDKUInt32 count, const SDKPointD2D *in, SDKGeoIntPoint *out)
 Inverse transformation of projected coordinates in double
to geographic coordinates in GeoInt units.
 
SDKResult SDK_CALLTYPE InverseFD (SDKUInt32 count, const SDKPointF2D *in, SDKPointD2D *out)
 Inverse transformation of projected coordinates in float
to geographic coordinates in degree units.
 
SDKResult SDK_CALLTYPE InverseFI (SDKUInt32 count, const SDKPointF2D *in, SDKGeoIntPoint *out)
 Inverse transformation of projected coordinates in float
to geographic coordinates in GeoInt units.
 
SDKResult SDK_CALLTYPE InverseII (SDKUInt32 count, const SDKPointI2D *in, SDKGeoIntPoint *out)
 Inverse transformation of projected coordinates in integers
to geographic coordinates in GeoInt units.
 
SDKResult SDK_CALLTYPE InverseID (SDKUInt32 count, const SDKPointI2D *in, SDKGeoPoint *out)
 Inverse transformation of projected coordinates in integers
to geographic coordinates in degree units.
 
SDKResult SDK_CALLTYPE Inverse3D3D (SDKUInt32 count, const SDKPointD3D *in, SDKPointD3D *out)
 Inverse transformation of projected coordinates in 3d geo
to 3d geo coordinates in degree units.
 
SDKResult SDK_CALLTYPE Inverse3F3D (SDKUInt32 count, const SDKPointF3D *in, SDKPointD3D *out)
 Inverse transformation of projected coordinates in 3d geo
to 3d geo coordinates in degree units.
 

Detailed Description

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

Member Function Documentation

◆ Forward()

virtual SDKResult SDK_CALLTYPE Forward ( SDKUInt32  count,
SDKAnyType  in_type,
const void *  in_points,
SDKAnyType  out_type,
void *  out_points 
)
throw (
)
pure virtual

Projects points from geographic to planar coordinates.

Parameters
count[in] Number of points in the point array.
in_type[in] The data type of the element of the input points.
in_points[in] A pointer to the array of input coordinates.
out_type[in] The data type of the element of the output points.
out_points[out] A pointer to the array of transformed coordinates.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_InvalidArgument

◆ Inverse()

virtual SDKResult SDK_CALLTYPE Inverse ( SDKUInt32  count,
SDKAnyType  in_type,
const void *  in_points,
SDKAnyType  out_type,
void *  out_points 
)
throw (
)
pure virtual

Projects points from planar to geographic coordinates.

Parameters
count[in] Number of points in the point array.
in_type[in] The data type of the element of the input points.
in_points[in] A pointer to the array of input coordinates.
out_type[in] The data type of the element of the output points.
out_points[out] A pointer to the array of transformed coordinates.
Returns
SDKResult_Succeeded
SDKResult_NotImplemented
SDKResult_InvalidArgument

◆ ForwardDD()

SDKResult SDK_CALLTYPE ForwardDD ( SDKUInt32  count,
const SDKPointD2D *  in,
SDKPointD2D *  out 
)
inline

Helpers for Forward method.

Forward transformation of geographic coordinates in degree units to projected coordinates in double.

◆ InverseDD()

SDKResult SDK_CALLTYPE InverseDD ( SDKUInt32  count,
const SDKPointD2D *  in,
SDKPointD2D *  out 
)
inline

Helpers for Inverse method.

Inverse transformation of projected coordinates in double
to geographic coordinates in degree units.


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