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.3.420.0 (24.3.420.0)
Syntax public double GetHeight(
Duration time,
TerrainProvider heightReference
)
Public Function GetHeight (
time As Duration,
heightReference As TerrainProvider
) As Double
public:
double GetHeight(
Duration time,
TerrainProvider^ heightReference
)
member GetHeight :
time : Duration *
heightReference : TerrainProvider -> float
Parameters
- time
- Type: AGI.Foundation.TimeDuration
The elapsed time, in seconds, since the start of the segment. - heightReference
- 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:
DoubleThe height with respect to the given terrain surface.
See Also