# MSP::CCS::DatumLibraryImplementation Class Reference

`#include <DatumLibraryImplementation.h>`

List of all members.

## Public Member Functions

| ~DatumLibraryImplementation (void)
void | define3ParamDatum (const char *code, const char *name, const char *ellipsoidCode, double deltaX, double deltaY, double deltaZ, double sigmaX, double sigmaY, double sigmaZ, double westLongitude, double eastLongitude, double southLatitude, double northLatitude)
void | define7ParamDatum (const char *code, const char *name, const char *ellipsoidCode, double deltaX, double deltaY, double deltaZ, double rotationX, double rotationY, double rotationZ, double scale)
void | removeDatum (const char *code)
void | datumCount (long *count)
void | datumIndex (const char *code, long *index)
void | datumCode (const long index, char *code)
void | datumName (const long index, char *name)
void | datumEllipsoidCode (const long index, char *code)
void | datumStandardErrors (const long index, double *sigmaX, double *sigmaY, double *sigmaZ)
void | datumSevenParameters (const long index, double *rotationX, double *rotationY, double *rotationZ, double *scaleFactor)
void | datumTranslationValues (const long index, double *deltaX, double *deltaY, double *deltaZ)
Accuracy * | datumShiftError (const long sourceIndex, const long targetIndex, double longitude, double latitude, Accuracy *sourceAccuracy)
void | datumUserDefined (const long index, long *result)
bool | datumUsesEllipsoid (const char *ellipsoidCode)
void | datumValidRectangle (const long index, double *westLongitude, double *eastLongitude, double *southLatitude, double *northLatitude)
CartesianCoordinates * | geocentricDatumShift (const long sourceIndex, const double sourceX, const double sourceY, const double sourceZ, const long targetIndex)
CartesianCoordinates * | geocentricShiftFromWGS84 (const double WGS84X, const double WGS84Y, const double WGS84Z, const long targetIndex)
CartesianCoordinates * | geocentricShiftToWGS84 (const long sourceIndex, const double sourceX, const double sourceY, const double sourceZ)
GeodeticCoordinates * | geodeticDatumShift (const long sourceIndex, const GeodeticCoordinates *sourceCoordinates, const long targetIndex)
GeodeticCoordinates * | geodeticShiftFromWGS84 (const GeodeticCoordinates *sourceCoordinates, const long targetIndex)
GeodeticCoordinates * | geodeticShiftToWGS84 (const long sourceIndex, const GeodeticCoordinates *sourceCoordinates)
void | retrieveDatumType (const long index, DatumType::Enum *datumType)
void | validDatum (const long index, double longitude, double latitude, long *result)
void | setEllipsoidLibraryImplementation (EllipsoidLibraryImplementation *__ellipsoidLibraryImplementation)

## Static Public Member Functions

static DatumLibraryImplementation * | getInstance ()
static void | removeInstance ()

## Protected Member Functions

| DatumLibraryImplementation ()
| DatumLibraryImplementation (const DatumLibraryImplementation &d)
DatumLibraryImplementation & | operator= (const DatumLibraryImplementation &d)

## Friends

class | DatumLibraryImplementationCleaner

## Detailed Description

Definition at line 144 of file DatumLibraryImplementation.h.

## Constructor & Destructor Documentation

DatumLibraryImplementation::~DatumLibraryImplementation | ( | void |  | ) |

Definition at line 404 of file DatumLibraryImplementation.cpp.

DatumLibraryImplementation::DatumLibraryImplementation | ( |  | ) | `[protected]`

Definition at line 355 of file DatumLibraryImplementation.cpp.

DatumLibraryImplementation::DatumLibraryImplementation | ( | const DatumLibraryImplementation & | d | ) | `[protected]`

Definition at line 378 of file DatumLibraryImplementation.cpp.

## Member Function Documentation

void DatumLibraryImplementation::datumCode | ( | const long | index,
|  | char * | code |
| ) |  |  |

Definition at line 768 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumCount | ( | long * | count | ) |

Definition at line 695 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumEllipsoidCode | ( | const long | index,
|  | char * | code |
| ) |  |  |

Definition at line 802 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumIndex | ( | const char * | code,
|  | long * | index |
| ) |  |  |

Definition at line 708 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumName | ( | const long | index,
|  | char * | name |
| ) |  |  |

Definition at line 785 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumSevenParameters | ( | const long | index,
|  | double * | rotationX,
|  | double * | rotationY,
|  | double * | rotationZ,
|  | double * | scaleFactor |
| ) |  |  |

Definition at line 851 of file DatumLibraryImplementation.cpp.

Accuracy * DatumLibraryImplementation::datumShiftError | ( | const long | sourceIndex,
|  | const long | targetIndex,
|  | double | longitude,
|  | double | latitude,
|  | Accuracy * | sourceAccuracy |
| ) |  |  |

Definition at line 911 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumStandardErrors | ( | const long | index,
|  | double * | sigmaX,
|  | double * | sigmaY,
|  | double * | sigmaZ |
| ) |  |  |

Definition at line 820 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumTranslationValues | ( | const long | index,
|  | double * | deltaX,
|  | double * | deltaY,
|  | double * | deltaZ |
| ) |  |  |

Definition at line 886 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumUserDefined | ( | const long | index,
|  | long * | result |
| ) |  |  |

Definition at line 1108 of file DatumLibraryImplementation.cpp.

bool DatumLibraryImplementation::datumUsesEllipsoid | ( | const char * | ellipsoidCode | ) |

Definition at line 1149 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::datumValidRectangle | ( | const long | index,
|  | double * | westLongitude,
|  | double * | eastLongitude,
|  | double * | southLatitude,
|  | double * | northLatitude |
| ) |  |  |

Definition at line 1201 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::define3ParamDatum | ( | const char * | code,
|  | const char * | name,
|  | const char * | ellipsoidCode,
|  | double | deltaX,
|  | double | deltaY,
|  | double | deltaZ,
|  | double | sigmaX,
|  | double | sigmaY,
|  | double | sigmaZ,
|  | double | westLongitude,
|  | double | eastLongitude,
|  | double | southLatitude,
|  | double | northLatitude |
| ) |  |  |

Definition at line 449 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::define7ParamDatum | ( | const char * | code,
|  | const char * | name,
|  | const char * | ellipsoidCode,
|  | double | deltaX,
|  | double | deltaY,
|  | double | deltaZ,
|  | double | rotationX,
|  | double | rotationY,
|  | double | rotationZ,
|  | double | scale |
| ) |  |  |

Definition at line 545 of file DatumLibraryImplementation.cpp.

CartesianCoordinates * DatumLibraryImplementation::geocentricDatumShift | ( | const long | sourceIndex,
|  | const double | sourceX,
|  | const double | sourceY,
|  | const double | sourceZ,
|  | const long | targetIndex |
| ) |  |  |

Definition at line 1227 of file DatumLibraryImplementation.cpp.

CartesianCoordinates * DatumLibraryImplementation::geocentricShiftFromWGS84 | ( | const double | WGS84X,
|  | const double | WGS84Y,
|  | const double | WGS84Z,
|  | const long | targetIndex |
| ) |  |  |

Definition at line 1275 of file DatumLibraryImplementation.cpp.

CartesianCoordinates * DatumLibraryImplementation::geocentricShiftToWGS84 | ( | const long | sourceIndex,
|  | const double | sourceX,
|  | const double | sourceY,
|  | const double | sourceZ |
| ) |  |  |

Definition at line 1345 of file DatumLibraryImplementation.cpp.

GeodeticCoordinates * DatumLibraryImplementation::geodeticDatumShift | ( | const long | sourceIndex,
|  | const GeodeticCoordinates * | sourceCoordinates,
|  | const long | targetIndex |
| ) |  |  |

Definition at line 1415 of file DatumLibraryImplementation.cpp.

GeodeticCoordinates * DatumLibraryImplementation::geodeticShiftFromWGS84 | ( | const GeodeticCoordinates * | sourceCoordinates,
|  | const long | targetIndex |
| ) |  |  |

Definition at line 1572 of file DatumLibraryImplementation.cpp.

GeodeticCoordinates * DatumLibraryImplementation::geodeticShiftToWGS84 | ( | const long | sourceIndex,
|  | const GeodeticCoordinates * | sourceCoordinates |
| ) |  |  |

Definition at line 1683 of file DatumLibraryImplementation.cpp.

DatumLibraryImplementation * DatumLibraryImplementation::getInstance | ( |  | ) | `[static]`

Definition at line 315 of file DatumLibraryImplementation.cpp.

DatumLibraryImplementation & DatumLibraryImplementation::operator= | ( | const DatumLibraryImplementation & | d | ) | `[protected]`

Definition at line 418 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::removeDatum | ( | const char * | code | ) |

Definition at line 630 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::removeInstance | ( |  | ) | `[static]`

Definition at line 327 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::retrieveDatumType | ( | const long | index,
|  | DatumType::Enum * | datumType |
| ) |  |  |

Definition at line 1802 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::setEllipsoidLibraryImplementation | ( | EllipsoidLibraryImplementation * | __ellipsoidLibraryImplementation | ) |

Definition at line 1898 of file DatumLibraryImplementation.cpp.

void DatumLibraryImplementation::validDatum | ( | const long | index,
|  | double | longitude,
|  | double | latitude,
|  | long * | result |
| ) |  |  |

Definition at line 1820 of file DatumLibraryImplementation.cpp.

## Friends And Related Function Documentation

friend class DatumLibraryImplementationCleaner `[friend]`

Definition at line 146 of file DatumLibraryImplementation.h.

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

- Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateSystems/datum/DatumLibraryImplementation.h
- Y:/msp/devkits/temp_geotrans/master/geotrans3.1/CCS/src/dtcc/CoordinateSystems/datum/DatumLibraryImplementation.cpp