Click or drag to resize

SurfaceCurveSegmentGetHeading Method (MotionDouble, Int32)

Get the heading and its derivatives, in radians and radians/meter.

Namespace:  AGI.Foundation.RouteDesign.Advanced
Assembly:  AGI.Foundation.RouteDesign (in AGI.Foundation.RouteDesign.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public override Motion<double> GetHeading(
	Motion<double> distanceAlongPath,
	int order
)

Parameters

distanceAlongPath
Type: AGI.FoundationMotionDouble
The distance along the surface path, in meters.
order
Type: SystemInt32
The requested order indicating the number of derivatives to compute.

Return Value

Type: MotionDouble
The heading and its derivatives, in radians and radians/meter.
Remarks
Note that the units for the derivatives here are in radians and meters. To get the time rates of change of heading, use the chain rule with the time rate of change of the arc length parameter.
See Also