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.3.420.0 (24.3.420.0)
Syntax public Motion<double> GetHeight(
Duration time,
int order,
TerrainProvider heightReference
)
Public Function GetHeight (
time As Duration,
order As Integer,
heightReference As TerrainProvider
) As Motion(Of Double)
public:
Motion<double> GetHeight(
Duration time,
int order,
TerrainProvider^ heightReference
)
member GetHeight :
time : Duration *
order : int *
heightReference : TerrainProvider -> Motion<float>
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:
MotionDoubleThe height, height rate, and vertical acceleration with respect to the given terrain surface.
See Also