NAVTOR SDK  v.3.0
Software Development Kit for fast and efficient development of ECDIS, ECS and generic marine applications
crs_geographic_coordinate_system.h
Go to the documentation of this file.
1 #ifndef SDK_CRS_GEOGRAPHIC_COORDINATE_SYSTEM_INTERFACE_H_
12 #define SDK_CRS_GEOGRAPHIC_COORDINATE_SYSTEM_INTERFACE_H_
13 #pragma once
14 
15 #include <base/inc/platform.h>
16 #include <base/inc/base_types.h>
19 #include <base/inc/sdk_ref_ptr.h>
20 #include <base/inc/sdk_results.h>
23 
24 namespace sdk {
25 namespace crs { // coordinate systems
26 
27 // Classes declared in this file.
28 class IGeographicCoordinateSystem;
29 
38 
43 public:
45  virtual AngularUnit SDK_CALLTYPE GetAngularUnit() const throw() = 0;
47  virtual SDKResult SDK_CALLTYPE SetAngularUnit(AngularUnit angular_unit) throw() = 0;
48 
50  virtual AngularUnitType SDK_CALLTYPE GetAngularUnitType() const throw() = 0;
52  virtual SDKResult SDK_CALLTYPE SetAngularUnitType(
53  AngularUnitType ang_unit_type) throw() = 0;
54 
56  virtual double SDK_CALLTYPE GetPrimeMeridian() const throw() = 0;
58  virtual SDKResult SDK_CALLTYPE SetPrimeMeridian(double longitude) throw() = 0;
59 
60  SDK_IMPLEMENT_IID(IGeographicCoordinateSystem)
61  SDK_END_INTERFACE(IGeographicCoordinateSystem)
62 };
63 SDK_DECLARE_IID(IGeographicCoordinateSystem)
64 
65 } // namespace crs
66 } // namespace sdk
67 
68 #endif // SDK_GEOGRAPHIC_COORDINATE_SYSTEM_INTERFACE_H_
sdk::crs::GeographicCoordinateSystemParameter
GeographicCoordinateSystemParameter
Parameters of the horizontal coordinate system.
Definition: crs_geographic_coordinate_system.h:32
sdk::crs::IGeographicCoordinateSystem
Provides access to members that control access to all properties of horizontal (geographic) coordinat...
Definition: crs_geographic_coordinate_system.h:42
sdk_results.h
A list of SDK error/return results.
sdk::crs::IGeographicCoordinateSystem::GetAngularUnitType
virtual AngularUnitType SDK_CALLTYPE GetAngularUnitType() const =0
Gets the angular unit type.
base_types.h
SDK base types.
AngularUnitType
AngularUnitType
Describes the angular unit type for the geographic coordinate system.
Definition: crs_const.h:137
sdk::crs::IGeographicCoordinateSystem::GetPrimeMeridian
virtual double SDK_CALLTYPE GetPrimeMeridian() const =0
Gets the prime meridian.
sdk_ref_ptr.h
Interfaces wrapper with reference count control.
sdk::crs::kGCRSPar_LeftLongitude
@ kGCRSPar_LeftLongitude
Returns or sets the minimum longitude value for the geographic coordinate system. -180....
Definition: crs_geographic_coordinate_system.h:35
AngularUnit
double AngularUnit
Defines the angular unit. The value is the number of degrees per angular unit.
Definition: crs_const.h:133
sdk::crs::kGCRSPar_PrimeMeridian
@ kGCRSPar_PrimeMeridian
The longitude value of the prime meridian.
Definition: crs_geographic_coordinate_system.h:34
sdk::crs::kGCRSPar_AngularUnit
@ kGCRSPar_AngularUnit
Returns radians per unit.
Definition: crs_geographic_coordinate_system.h:33
sdk_string_handler.h
Wrappers and helper functions for SDKString.
SDKResult
SDKInt32 SDKResult
Type of all error or return codes which SDK functions can end with.
Definition: sdk_results.h:17
sdk::crs::kGCRSPar_RightLongitude
@ kGCRSPar_RightLongitude
Returns or sets the maximum longitude value for the geographic coordinate system. 180....
Definition: crs_geographic_coordinate_system.h:36
sdk_component_interface.h
Common base SDK interfaces.
platform.h
Describes the platform constants.
sdk::crs::IGeographicCoordinateSystem::SetAngularUnit
virtual SDKResult SDK_CALLTYPE SetAngularUnit(AngularUnit angular_unit)=0
Sets the angular units.
crs_const.h
Defines constants for the coordinate systems.
sdk::crs::IGeographicCoordinateSystem::SetAngularUnitType
virtual SDKResult SDK_CALLTYPE SetAngularUnitType(AngularUnitType ang_unit_type)=0
Sets the angular unit type.
sdk::crs::IHorizontalCoordinateSystem
Describes member that manage the horizontal coordinate system
Definition: crs_horizontal_coordinate_system.h:137
crs_horizontal_coordinate_system.h
Describes the interface that manages a horizontal coordinate system parameters.
sdk::crs::IGeographicCoordinateSystem::GetAngularUnit
virtual AngularUnit SDK_CALLTYPE GetAngularUnit() const =0
Gets the angular units.
sdk::crs::IGeographicCoordinateSystem::SetPrimeMeridian
virtual SDKResult SDK_CALLTYPE SetPrimeMeridian(double longitude)=0
Sets the prime meridian.