Skip to main content

flywave-mapview.elevationbasedclipplanesevaluator

Home > @flywave/flywave-mapview > ElevationBasedClipPlanesEvaluator

ElevationBasedClipPlanesEvaluator class

Abstract evaluator class that adds support for elevation constraints.

Signature:

export declare abstract class ElevationBasedClipPlanesEvaluator implements ClipPlanesEvaluator 

Implements: ClipPlanesEvaluator

Remarks

Classes derived from this should implement algorithms that takes into account rendered features height (elevations), such as ground plane is no more flat (or spherical), but contains geometry that should be overlapped by frustum planes.

Constructors

Constructor

Modifiers

Description

(constructor)(maxElevation, minElevation)

Constructs a new instance of the ElevationBasedClipPlanesEvaluator class

Properties

Property

Modifiers

Type

Description

maxElevation

number

Get maximum elevation to be covered by camera frustum.

minElevation

number

Get minimum elevation to be covered by camera frustum.

Methods

Method

Modifiers

Description

evaluateClipPlanes(camera, projection, elevationProvider, useLogarithmicDepth)

abstract