Computes and returns tabulated positions and velocities of a point with respect to reference system using specified sampling parameters.
| [Visual Basic .NET] |
|---|
|
| [C#] |
|---|
public IAgCrdnPointSamplingResult Sample( IAgCrdnPoint Point, IAgCrdnSystem ReferenceSystem, System.Array Intervals, double MinStep, double MaxStep, System.Object TargetRate ); |
| [Managed C++] |
|---|
public: IAgCrdnPointSamplingResult^ Sample( IAgCrdnPoint ^ Point, IAgCrdnSystem ^ ReferenceSystem, System::Array ^ Intervals, double MinStep, double MaxStep, VARIANT TargetRate ); |
| [Unmanaged C++] |
|---|
|
| [Java] |
|---|
public IAgCrdnPointSamplingResult sample( IAgCrdnPoint Point, IAgCrdnSystem ReferenceSystem, AgSafeArray Intervals, double MinStep, double MaxStep, AgVariant TargetRate ); |
[Python - STK API ] |
|---|
def Sample(self, Point:"IAgCrdnPoint", ReferenceSystem:"IAgCrdnSystem", Intervals:list, MinStep:float, MaxStep:float, TargetRate:typing.Any) -> "IAgCrdnPointSamplingResult": |
- Point
- Specify a point which position and velocity to sample.
- ReferenceSystem
- Specify a reference system.
- Intervals
- Specify time intervals as a one-dimensional array of pairs of start/stop times for each interval. The interval start/stop times must be specified using the current unit preferences.
- MinStep
- Specify a minimum sampling step size (in time units, i.e. seconds, hours, etc. depending on the current unit preferences).
- MaxStep
- Specify a maximum sampling step size (in time units, i.e. seconds, hours, etc. depending on the current unit preferences).
- TargetRate
- Specify an angular threshold that limits how much trajectory curvature is tolerated between subsequent samples. The value uses the angular units (radians, degrees, etc. depending on the current unit preferences).






