 |
NAVTOR SDK
v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
|
|
Go to the documentation of this file. 1 #ifndef SDK_CRS_PROJECTION_INTERFACE_H_
11 #define SDK_CRS_PROJECTION_INTERFACE_H_
36 SDKString& class_name)
const throw() = 0;
41 const SDKString& class_name)
throw() = 0;
71 SDKAny& val)
throw() = 0;
80 double lat,
double lon,
double& scale)
const throw() = 0;
92 virtual SDKUInt32 SDK_CALLTYPE
GetCount()
const throw() = 0;
96 SDKUInt32 index,
double& value) const throw() = 0;
121 const SDKString& zone_str)
throw() = 0;
131 #endif // SDK_CRS_PROJECTION_INTERFACE_H_
virtual void SDK_CALLTYPE SetParameterValueByID(ProjectionParameterEnum id, double value)=0
Sets the projection parameter value specified by id.
virtual SDKResult SDK_CALLTYPE GetParameterValue(SDKUInt32 index, double &value) const =0
Returns an indexed parameter of the projection.
virtual SDKResult SDK_CALLTYPE GetProjectionProperty(const ProjectionPropertyEnum &id, SDKAny &val)=0
Retrieves the projection property.
virtual SDKResult SDK_CALLTYPE GetParameterValueByID(ProjectionParameterEnum id, double &value) const =0
Gets the projection parameter value specified by id.
virtual SDKResult SDK_CALLTYPE GetProjectionClassName(SDKString &class_name) const =0
Gets the projection classification name (e.g. 'Mercator' or 'Transverse_Mercator').
virtual SDKResult SDK_CALLTYPE GetProjectionParameters(IProjectionParameters **projection_parameters) const =0
Gets the projection parameters.
virtual SDKUInt32 SDK_CALLTYPE GetCount() const =0
Returns number of parameters in the set.
virtual SDKResult SDK_CALLTYPE SetProjectionParameters(IProjectionParameters *projection_parameters)=0
Sets the projection parameters.
virtual SDKResult SDK_CALLTYPE GetParameterID(SDKUInt32 index, ProjectionParameterEnum &id) const =0
Returns an indexed parameter of the projection.
virtual SDKResult SDK_CALLTYPE SetProjectionClassName(const SDKString &class_name)=0
Sets the projection classification name (e.g. 'Mercator' or 'Transverse_Mercator').
Wrappers and helper functions for SDKString.
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
Provides access to members that control the properties and methods for the UTM projection.
Definition: crs_projection.h:117
ProjectionPropertyEnum
Defines the projection properties.
Definition: crs_const.h:299
Common base SDK interfaces.
virtual SDKResult SDK_CALLTYPE Clone(IProjection **clone)=0
Creates the clone of this projection.
virtual SDKResult SDK_CALLTYPE GetProjectionClassID(ProjectionClassID &id) const =0
Gets the projection classification identifier.
Base interface for all SDK interfaces.
Definition: sdk_component_interface.h:41
Defines constants for the coordinate systems.
Projection parameters.
Definition: crs_projection.h:89
ProjectionParameterEnum
Parameters for the different projections. Required parameters for all projections: ProjPar_Coordinate...
Definition: crs_const.h:235
ProjectionClassID
Projection classes.
Definition: crs_const.h:311
virtual SDKResult SDK_CALLTYPE SetProjectionClassID(ProjectionClassID class_id)=0
Sets the projection classification identifier.
FWD_DECL_INTERFACE(ILWEParserWrapper)
Provides a wrapper around the message parser to get, add or remove the.
virtual SDKResult SDK_CALLTYPE GetLocalScale(double lat, double lon, double &scale) const =0
Returns the scale at specified position.
Provides access to members that control the properties and methods for the projection.
Definition: crs_projection.h:31