Click or drag to resize

ParametricRouteSegment.GetHeight 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: 25.1.421.0 (25.1.421.0)
Syntax
public double GetHeight(
	Duration time,
	TerrainProvider heightReference
)

Parameters

time
Type: AGI.Foundation.Time.Duration
The elapsed time, in seconds, since the start of the segment.
heightReference
Type: AGI.Foundation.Terrain.TerrainProvider
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