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.1.418.0 (24.1.418.0)
public void ConfigureFromPoint(
	Point point,
	JulianDate start,
	JulianDate stop,
	Duration step,
	int order


Type: AGI.Foundation.GeometryPoint
The point from which to sample positions and optionally velocities and accelerations.
Type: AGI.Foundation.TimeJulianDate
The first date at which to sample the point.
Type: AGI.Foundation.TimeJulianDate
The last date at which to sample the point.
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.
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.
ArgumentNullException Thrown when point is .
See Also