s2-tools
Version:
A collection of geospatial tools primarily designed for WGS84, Web Mercator, and S2.
28 lines • 795 B
TypeScript
/** Describes an ellipsoid's eccentricity */
export interface EccentricityParams {
a?: number;
b?: number;
es?: number;
e?: number;
ep2?: number;
rA?: boolean;
}
/**
* Derives an ellipsoid's eccentricity for an object
* @param el - ellipsoid object to modify
*/
export declare function deriveEccentricity(el: EccentricityParams): void;
/** Describes a sphere's eccentricity and if it is a true sphere or not */
export interface SphereParams {
ellps?: string;
a?: number;
b?: number;
rf?: number;
sphere?: boolean;
}
/**
* Builds a sphere with ellipsoid parameters
* @param obj - an object with/wihtout sphere properties and builds the sphere
*/
export declare function deriveSphere(obj: SphereParams): void;
//# sourceMappingURL=derives.d.ts.map