Click or drag to resize

ParametricRouteSegment.GetHeight Method (Duration, Int32, TerrainProvider)

Get the height and rates at a given time since the start of the segment.

Namespace:  AGI.Foundation.RouteDesign.Advanced
Assembly:  AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public Motion<double> GetHeight(
	Duration time,
	int order,
	TerrainProvider heightReference
)

Parameters

time
Type: AGI.Foundation.Time.Duration
The elapsed time, in seconds, since the start of the segment.
order
Type: System.Int32
The order of derivatives requested. Zero denotes height only.
heightReference
Type: AGI.Foundation.Terrain.TerrainProvider
The terrain reference surface to use when determining the height. The resulting height, height rate, and vertical acceleration will be with respect to the local curvature of this terrain surface.

Return Value

Type: Motion<Double>
The height, height rate, and vertical acceleration with respect to the given terrain surface.
See Also