Click or drag to resize

ParametricRouteSegmentGetHeight Method (Duration, TerrainProvider)

Get the height 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)
public double GetHeight(
	Duration time,
	TerrainProvider heightReference


Type: AGI.Foundation.TimeDuration
The elapsed time, in seconds, since the start of the segment.
Type: AGI.Foundation.TerrainTerrainProvider
The terrain reference surface to use when determining the height. The resulting height will be with respect to the local curvature of this terrain surface.

Return Value

Type: Double
The height with respect to the given terrain surface.
See Also