/** @packageDocumentation * @module OrbitGT */ declare type int32 = number; import { Coordinate } from "../geom/Coordinate"; import { CRS } from "./CRS"; import { Operation } from "./Operation"; import { ParameterValueList } from "./ParameterValueList"; /** * Class OperationMethod defines a general method for transforming coordinates. * * @version 1.0 July 2005 */ /** @internal */ export declare abstract class OperationMethod { /** The code */ private _code; /** The name */ private _name; /** The parameter list */ private _parameters; /** * Create a new method. * @param code the code. * @param name the name. */ constructor(code: int32, name: string, parameters: ParameterValueList); /** * Get the code. * @return the code. */ getCode(): int32; /** * Get the name. * @return the name. */ getName(): string; /** * Get the parameter list. * @return the parameter list. */ getParameterList(): ParameterValueList; /** * Check if another method is compatible with this one. * @param other the other method. * @return true if compatible. */ isCompatible(other: OperationMethod): boolean; /** * Initialize the method before making forward and reverse transforms. * @param operation the operation that is using this method. */ initialize(operation: Operation): void; /** * Convert a source coordinate to a target coordinate. * @param sourceCRS the source CRS. * @param source the coordinates in the source CRS. * @param targetCRS the target CRS. * @param target the coordinates in the target CRS. */ abstract forward(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void; /** * Convert a target coordinate to a source coordinate. * @param sourceCRS the source CRS. * @param source the coordinates in the source CRS. * @param targetCRS the target CRS. * @param target the coordinates in the target CRS. */ abstract reverse(sourceCRS: CRS, source: Coordinate, targetCRS: CRS, target: Coordinate): void; } export {}; //# sourceMappingURL=OperationMethod.d.ts.map