sun-horizon
Version:
Horizon profile and sun path form a lat lng point
43 lines (42 loc) • 963 B
TypeScript
export interface LatLng {
lat: number;
lng: number;
}
export interface HorizonOptions {
azimuthOptions?: AzimuthOptions;
highestPointOptions?: HighestPointOptions;
}
export interface AzimuthOptions {
azimuthStart?: number;
azimuthEnd?: number;
azimuthTick?: number;
}
export declare class AzimuthParams {
azimuthStart: number;
azimuthEnd: number;
azimuthTick: number;
constructor(options?: AzimuthOptions);
}
export interface HighestPointOptions {
distanceMax?: number;
distanceTick?: number;
}
export declare class HighestPointParams {
distanceMax: number;
distanceTick: number;
constructor(options?: HighestPointOptions);
}
export interface HorizonPoint {
azimuth: number;
angle: number;
altitude: number;
latLng?: LatLng;
}
export interface Horizon {
origin: LatLng;
elevationProfile: HorizonPoint[];
}
export interface CacheData {
bytes: number;
files: number;
}