/** @packageDocumentation * @module OrbitGT */ declare type float64 = number; /** * Class Coordinate defines a 3D XYZ coordinate. */ /** @internal */ export declare class Coordinate { x: float64; y: float64; z: float64; constructor(x: float64, y: float64, z: float64); static create(): Coordinate; static fromXY(x: float64, y: float64): Coordinate; static fromXYZ(x: float64, y: float64, z: float64): Coordinate; getX(): float64; setX(x: float64): void; getY(): float64; setY(y: float64): void; getZ(): float64; setZ(z: float64): void; set(point: Coordinate): void; setXYZ(x: float64, y: float64, z: float64): void; clear(): void; isZero(): boolean; isNonZero(): boolean; same(other: Coordinate): boolean; same2D(other: Coordinate): boolean; distance3D(other: Coordinate): float64; distance2D(other: Coordinate): float64; getLength(): float64; normalize0(): Coordinate; normalize(): Coordinate; copy(): Coordinate; add0(point: Coordinate): Coordinate; add(point: Coordinate): Coordinate; subtract0(point: Coordinate): Coordinate; subtract(point: Coordinate): Coordinate; scale0(f: float64): Coordinate; scale(f: float64): Coordinate; crossProduct0(point: Coordinate): Coordinate; crossProduct(point: Coordinate): Coordinate; dotProduct(point: Coordinate): float64; toString(): string; /** * Get the angle between two directions. * @param direction1 the first direction. * @param direction2 the second direction. * @return the angle between the directions, in radians from 0.0 to PI (never negative). */ static getAngleRad(direction1: Coordinate, direction2: Coordinate): float64; /** * Get the angle between two directions. * @param direction1 the first direction. * @param direction2 the second direction. * @return the angle between the directions, in degrees from 0.0 to 180.0 (never negative). */ static getAngleDeg(direction1: Coordinate, direction2: Coordinate): float64; } export {}; //# sourceMappingURL=Coordinate.d.ts.map