Click or drag to resize

StkEphemerisFileConfigureFromPoint Method

Configures this instance with values computed by sampling a Point over an interval with a fixed step. The Data property is replaced with a new instance of StkEphemerisFileEphemerisTimePos, StkEphemerisFileEphemerisTimePosVel, or StkEphemerisFileEphemerisTimePosVelAcc (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 Point 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.2.419.0 (24.2.419.0)
Syntax
public void ConfigureFromPoint(
	Point point,
	JulianDate start,
	JulianDate stop,
	Duration step,
	int order
)

Parameters

point
Type: AGI.Foundation.GeometryPoint
The point from which to sample positions and optionally velocities and accelerations.
start
Type: AGI.Foundation.TimeJulianDate
The first date at which to sample the point.
stop
Type: AGI.Foundation.TimeJulianDate
The last date at which to sample the point.
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 position only, 1 also includes velocity, and 2 (or greater) also includes acceleration.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when point is .
See Also