@giro3d/giro3d
Version:
A JS/WebGL framework for 3D geospatial data visualization
45 lines • 1.8 kB
TypeScript
/**
* Defines a heading, pitch and roll in degrees.
*/
export interface HeadingPitchRollLike {
/**
* The heading (or azimuth), in degrees. Zero is north, 90 is east, and so on.
*/
heading?: number;
/**
* The pitch, in degrees. Represents the angle from the horizontal plane. Positive values look above the horizon, and negative values look below the horizon.
*/
pitch?: number;
/**
* The roll, in degrees. Represents the rotation around the forward axis. Positives values tilt on the right.
*/
roll?: number;
}
/**
* Defines a heading, pitch and roll in degrees.
*/
export declare class HeadingPitchRoll implements HeadingPitchRollLike {
/**
* The heading (or azimuth), in degrees. Zero is north, 90 is east, and so on.
* @defaultValue 0
*/
heading: number;
/**
* The pitch, in degrees. Represents the angle from the horizontal plane. Positive values look above the horizon, and negative values look below the horizon.
* @defaultValue 0
*/
pitch: number;
/**
* The roll, in degrees. Represents the rotation around the forward axis. Positives values tilt on the right.
* @defaultValue 0
*/
roll: number;
/**
* @param heading - The heading (or azimuth), in degrees. Zero is north, 90 is east, and so on.
* @param pitch - The pitch, in degrees. Represents the angle from the horizontal plane. Positive values look above the horizon, and negative values look below the horizon.
* @param roll - The roll, in degrees. Represents the rotation around the forward axis. Positives values tilt on the right.
*/
constructor(heading?: number, pitch?: number, roll?: number);
}
export default HeadingPitchRoll;
//# sourceMappingURL=HeadingPitchRoll.d.ts.map