Click or drag to resize

StkAttitudeFileConfigureFromAxes Method

Configures this instance with values computed by sampling an Axes over an interval with a fixed step. The Data property is replaced with a new instance of StkAttitudeFileAttitudeTimeQuaternions, or StkAttitudeFileAttitudeTimeQuatAngVels (depending on the value of the order property) and any existing information stored in that instance is lost. The Properties are not modified, but values pulled from Axes will take precedence over values in the Properties collection when writing this instance using WriteTo(TextWriter). The Interpolator property is not configured, so you may want to call ConfigureInterpolation(InterpolationAlgorithm, Int32) after calling this method.

Namespace:  AGI.Foundation.Stk
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public void ConfigureFromAxes(
	Axes axes,
	JulianDate start,
	JulianDate stop,
	Duration step,
	int order
)

Parameters

axes
Type: AGI.Foundation.GeometryAxes
The axes from which to sample orientations and optionally angular velocities.
start
Type: AGI.Foundation.TimeJulianDate
The first date at which to sample the axes.
stop
Type: AGI.Foundation.TimeJulianDate
The last date at which to sample the axes.
step
Type: AGI.Foundation.TimeDuration
The step between successive samples. The duration between the second-to-last and last samples will be smaller than this step if the interval is not evenly disable by the step.
order
Type: SystemInt32
The number of derivatives to include in the file. 0 includes orientation only and 1 (or greater) also includes angular velocity.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when axes is .
See Also