Click or drag to resize

ParametricRouteSegmentGetHeight 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: 24.1.418.0 (24.1.418.0)
Syntax
public Motion<double> GetHeight(
	Duration time,
	int order,
	TerrainProvider heightReference
)

Parameters

time
Type: AGI.Foundation.TimeDuration
The elapsed time, in seconds, since the start of the segment.
order
Type: SystemInt32
The order of derivatives requested. Zero denotes height only.
heightReference
Type: AGI.Foundation.TerrainTerrainProvider
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: MotionDouble
The height, height rate, and vertical acceleration with respect to the given terrain surface.
See Also