@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
28 lines (27 loc) • 885 B
TypeScript
/** Latitude and longitude in radians. */
export interface ILatLonLike {
/** Latitude in radians. */
lat: number;
/** Longitude in radians. */
lon: number;
}
/** Latitude and longitude in radians, and altitude, typically meters. */
export interface ILatLonAltLike extends ILatLonLike {
/** The height above the surface, typically meters. */
alt: number;
}
/**
* A reference ellipsoid used for geospatial functions.
*/
export interface IEllipsoidLike {
/** The larger radius for the ellipsoid. */
semiMajorAxis: number;
/** The smaller radius for the ellipsoid. */
semiMinorAxis: number;
/** The flattening for the ellipsoid. Zero for a sphere. */
flattening: number;
/** The first eccentricity, squared. */
firstEccentricitySquared: number;
/** The second eccentricity, squared. */
secondEccentricitySquared: number;
}