Click or drag to resize

TrackingArchive<TEntity>.GetMotion<T, TDerivative> Method (Object, JulianDate, JulianDate, Int32,String[])

Gets time-varying data, such as position and velocity, from the archive.

Namespace:  AGI.Foundation.Tracking
Assembly:  AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public DateMotionCollection<T, TDerivative> GetMotion<T, TDerivative>(
	Object entityIdentifier,
	JulianDate start,
	JulianDate stop,
	int maximumPoints,
	params string[] propertyNames
)

Parameters

entityIdentifier
Type: System.Object
The identifier of the entity for which to retrieve data.
start
Type: AGI.Foundation.Time.JulianDate
The earliest time for which to retrieve data.
stop
Type: AGI.Foundation.Time.JulianDate
The latest time for which to retrieve data.
maximumPoints
Type: System.Int32
The maximum number of points to return.
propertyNames
Type:System.String[]
The names of the properties to include in the returned collection. The first string is the name of the property representing the Value of the motion, the second is the name of the property representing the FirstDerivative of the motion, and so on. To obtain the orientations of the entity over time, pass Orientation as the first property, and RotationalVelocity and RotationalAcceleration as the successive properties, if applicable.

Type Parameters

T
The type of value data to retrieve. For example, this would be UnitQuaternion for rotation and rotational velocity data.
TDerivative
The type of derivative data to retrieve. For example, this would be Cartesian for rotation and rotational velocity data.

Return Value

Type: DateMotionCollection<T, TDerivative>
An instance of DateMotionCollection<T, TDerivative> representing the requested interval.
See Also