Class spherical

Index

Methods

Methods

public static computeArea(path: Array<any>, radius?: number): number

Parameters

  • path: Array<any>
  • radius?: number optional

Returns

number

public static computeDistanceBetween(from: LatLng, to: LatLng, radius?: number): number

Parameters

Returns

number

public static computeHeading(from: LatLng, to: LatLng): number

Parameters

Returns

number

public static computeLength(path: Array<any>, radius?: number): number

Parameters

  • path: Array<any>
  • radius?: number optional

Returns

number

public static computeOffset(from: LatLng, distance: number, heading: number, radius?: number): LatLng

Parameters

  • from: LatLng
  • distance: number
  • heading: number
  • radius?: number optional

Returns

LatLng

public static computeSignedArea(loop: Array<any>, radius?: number): number

Parameters

  • loop: Array<any>
  • radius?: number optional

Returns

number

public static interpolate(from: LatLng, to: LatLng, fraction: number): LatLng

Parameters

Returns

LatLng