/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { Ellipsoid } from "./Ellipsoid"; import { OperationMethod } from "./OperationMethod"; import { PrimeMeridian } from "./PrimeMeridian"; /** * Class Datum defines the parameters of a Datum. * * Based on the following document: * * Coordinate Conversions and Transformations including Formulas * Guidance Note Number 7, part 2 * Revised May 2005 * Available at: http://www.epsg.org/ * * @version 1.0 July 2005 */ /** @internal */ export declare class Datum { /** The type of a geodetic datum */ static readonly TYPE_GEODETIC: string; /** The type of a vertical datum */ static readonly TYPE_VERTICAL: string; /** The code */ private _code; /** The name */ private _name; /** The type */ private _type; /** The ellipsoid */ private _ellipsoid; /** The prime meridian */ private _primeMeridian; /** An optional preferred transformation to the WGS84 datum */ private _toWGS84; /** * Create a new datum. * @param code the code. * @param name the name. * @param type the type. * @param ellipsoid the ellipsoid. * @param primeMeridian the prime meridian. */ constructor(code: int32, name: string, type: string, ellipsoid: Ellipsoid, primeMeridian: PrimeMeridian); /** * Get the code. * @return the code. */ getCode(): int32; /** * Get the name. * @return the name. */ getName(): string; /** * Get the type. * @return the type. */ getType(): string; /** * Is this a geodetic datum? * @return true for a geodetic datum. */ isTypeGeodetic(): boolean; /** * Is this a vertical datum? * @return true for a vertical datum. */ isTypeVertical(): boolean; /** * Get the ellipsoid. * @return the ellipsoid. */ getEllipsoid(): Ellipsoid; /** * Get the prime meridian. * @return the prime meridian. */ getPrimeMeridian(): PrimeMeridian; /** * Get the optional toWGS84 datum transformation. * @return the optional toWGS84 datum transformation. */ getToWGS84(): OperationMethod; /** * Set the optional toWGS84 datum transformation. * @param toWGS84 the optional toWGS84 datum transformation. */ setToWGS84(toWGS84: OperationMethod): void; /** * Check if another datum is compatible with this one. * @param other the other datum. * @return true if compatible. */ isCompatible(other: Datum): boolean; /** * Check if two datums are compatible. * @param datum1 the first datum. * @param datum2 the second datum. * @return true if compatible. */ static areCompatible(datum1: Datum, datum2: Datum): boolean; /** * The standard toString method. * @see Object#toString */ toString(): string; } export {}; //# sourceMappingURL=Datum.d.ts.map