Skip to main content

Class: LodBoundary

A boundary (airspace) with pre-processed LODs.

Constructors

constructor

new LodBoundary(facility, lodDistanceThresholds?, lodVectorCountTargets?): LodBoundary

Constructor.

Parameters

NameTypeDescription
facilityBoundaryFacilityThis boundary's facility object.
lodDistanceThresholds?readonly number[]The Douglas-Peucker thresholds, in great-arc radians, used by each LOD level. If undefined or an empty array, only one LOD level (LOD0) will be created with a distance threshold of 0.
lodVectorCountTargets?readonly number[]The vector count targets for each LOD level. The number of vectors per shape after simplification will not exceed the LOD levels' target. Non-positive targets are interpreted as unlimited. If undefined, all LOD levels will be assigned an unlimited vector count target.

Returns

LodBoundary

Defined in

src/sdk/navigation/LodBoundary.ts:64

Properties

facility

Readonly facility: BoundaryFacility

This boundary's facility object.

Defined in

src/sdk/navigation/LodBoundary.ts:64


lodDistanceThresholds

Readonly lodDistanceThresholds: readonly number[]

The Douglas-Peucker thresholds, in great-arc radians, used by each of this boundary's LOD levels.

Defined in

src/sdk/navigation/LodBoundary.ts:49


lods

Readonly lods: readonly readonly readonly LodBoundaryVector[][][]

This boundary's LOD levels. Each LOD level contains one or more boundary shapes.

Defined in

src/sdk/navigation/LodBoundary.ts:53