UNCLASSIFIED
|
GeographicTranslator
|
#include <CoordinateConversionService.h>
Main Interface for Coordinate Conversion Service
Definition at line 152 of file CoordinateConversionService.h.
| CoordinateConversionService::CoordinateConversionService | ( | const char * | sourceDatumCode, |
| MSP::CCS::CoordinateSystemParameters * | sourceParameters, | ||
| const char * | targetDatumCode, | ||
| MSP::CCS::CoordinateSystemParameters * | targetParameters | ||
| ) |
The constructor sets the initial state of the coordinate conversion service in preparation for coordinate conversion and/or datum transformation operations.
| [in] | sourceDatumCode | - standard 5-letter datum code |
| [in] | sourceParameters | - input coordinate system |
| [in] | targetDatumCode | - standard 5-letter datum code |
| [in] | targetParameters | - output coordinate system |
Definition at line 218 of file CoordinateConversionService.cpp.
| CoordinateConversionService::CoordinateConversionService | ( | const CoordinateConversionService & | ccs | ) |
Copy constructor
| [in] | - | Instance of Coordinate Conversion Service |
Definition at line 329 of file CoordinateConversionService.cpp.
| CoordinateConversionService::~CoordinateConversionService | ( | void | ) |
Destructor
Definition at line 362 of file CoordinateConversionService.cpp.
| void CoordinateConversionService::convertSourceToTarget | ( | CoordinateTuple * | sourceCoordinates, |
| Accuracy * | sourceAccuracy, | ||
| CoordinateTuple & | targetCoordinates, | ||
| Accuracy & | targetAccuracy | ||
| ) |
The function convertSourceToTarget converts the current source coordinates in the coordinate system defined by the current source coordinate system parameters and source datum, into target coordinates in the coordinate system defined by the target coordinate system parameters and target datum.
| [in] | sourceCoordinates | - Coordinates of the source coordinate system to be converted |
| [in] | sourceAccuracy | - Source circular, linear and spherical errors |
| [out] | targetCoordinates | - Converted coordinates of the target coordinate system |
| [out] | targetAccuracy | - Target circular, linear and spherical errors |
Definition at line 427 of file CoordinateConversionService.cpp.
| void CoordinateConversionService::convertSourceToTargetCollection | ( | const std::vector< MSP::CCS::CoordinateTuple * > & | sourceCoordinates, |
| const std::vector< MSP::CCS::Accuracy * > & | sourceAccuracy, | ||
| std::vector< MSP::CCS::CoordinateTuple * > & | targetCoordinates, | ||
| std::vector< MSP::CCS::Accuracy * > & | targetAccuracy | ||
| ) |
The function convertSourceToTargetCollection will convert a list of source coordinates to a list of target coordinates in a single step.
| [in] | sourceCoordinates | - Coordinates of the source coordinate system to be converted |
| [in] | sourceAccuracy | - Source circular, linear and spherical errors |
| [out] | targetCoordinates | - Converted coordinates of the target coordinate system |
| [out] | targetAccuracy | - Target circular, linear and spherical errors |
Definition at line 465 of file CoordinateConversionService.cpp.
| void CoordinateConversionService::convertTargetToSource | ( | CoordinateTuple * | targetCoordinates, |
| Accuracy * | targetAccuracy, | ||
| CoordinateTuple & | sourceCoordinates, | ||
| Accuracy & | sourceAccurac | ||
| ) |
The function convertTargetToSource converts the current target coordinates in the coordinate system defined by the current target coordinate system parameters and target datum, into source coordinates in the coordinate system defined by the source coordinate system parameters and source datum.
| [in] | targetCoordinates | - Converted coordinates of the target coordinate system |
| [in] | targetAccuracy | - Target circular, linear and spherical errors |
| [out] | sourceCoordinates | - Coordinates of the source coordinate system to be converted |
| [out] | sourceAccuracy | - Source circular, linear and spherical errors |
Definition at line 445 of file CoordinateConversionService.cpp.
| void CoordinateConversionService::convertTargetToSourceCollection | ( | const std::vector< MSP::CCS::CoordinateTuple * > & | targetCoordinates, |
| const std::vector< MSP::CCS::Accuracy * > & | targetAccuracy, | ||
| std::vector< MSP::CCS::CoordinateTuple * > & | sourceCoordinates, | ||
| std::vector< MSP::CCS::Accuracy * > & | sourceAccuracy | ||
| ) |
The function convertTargetToSourceCollection will convert a list of target coordinates to a list of source coordinates in a single step.
| [in] | targetCoordinates | - Converted coordinates of the target coordinate system |
| [in] | targetAccuracy | - Target circular, linear and spherical errors |
| [out] | sourceCoordinates | - Coordinates of the source coordinate system to be converted |
| [out] | sourceAccuracy | - Source circular, linear and spherical errors |
Definition at line 486 of file CoordinateConversionService.cpp.
| MSP::CCS::CoordinateSystemParameters * CoordinateConversionService::getCoordinateSystem | ( | const SourceOrTarget::Enum | direction | ) | const |
Definition at line 555 of file CoordinateConversionService.cpp.
| const char * CoordinateConversionService::getDatum | ( | const SourceOrTarget::Enum | direction | ) | const |
Definition at line 541 of file CoordinateConversionService.cpp.
| DatumLibrary * CoordinateConversionService::getDatumLibrary | ( | ) |
Definition at line 519 of file CoordinateConversionService.cpp.
| EllipsoidLibrary * CoordinateConversionService::getEllipsoidLibrary | ( | ) |
Definition at line 507 of file CoordinateConversionService.cpp.
| int CoordinateConversionService::getServiceVersion | ( | ) |
Definition at line 531 of file CoordinateConversionService.cpp.
| CoordinateConversionService & CoordinateConversionService::operator= | ( | const CoordinateConversionService & | ccs | ) |
Operator =
| [in] | - | Instance of Coordinate Conversion Service |
Definition at line 386 of file CoordinateConversionService.cpp.