STK Vector Geometry ToolSend comments on this topic.
Sample Method (IAgCrdnAxesCommonTasks)
See Also
Axes
Specify an axes which orientation and angular velocity to sample.
ReferenceAxes
Specify a reference axes.
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).
Windows





Windows & Linux

Description

Computes and returns tabulated orientations and angular velocities of axes with respect to reference axes using specified sampling parameters.

Syntax

[Visual Basic .NET]
Public Function Sample( _
    ByVal Axes As IAgCrdnAxes, _
    ByVal ReferenceAxes As IAgCrdnAxes, _
    ByVal Intervals As System.Array, _
    ByVal MinStep As Double, _
    ByVal MaxStep As Double, _
    ByVal TargetRate As System.Object _
) As IAgCrdnAxesSamplingResult
[C#]
public IAgCrdnAxesSamplingResult Sample(
    IAgCrdnAxes Axes,
    IAgCrdnAxes ReferenceAxes,
    System.Array Intervals,
    double MinStep,
    double MaxStep,
    System.Object TargetRate
);
[Managed C++]
public: IAgCrdnAxesSamplingResult^ Sample(
    IAgCrdnAxes ^ Axes,
    IAgCrdnAxes ^ ReferenceAxes,
    System::Array ^ Intervals,
    double MinStep,
    double MaxStep,
    VARIANT TargetRate
);
[Unmanaged C++]
public: HRESULT Sample(
    IAgCrdnAxes * Axes,
    IAgCrdnAxes * ReferenceAxes,
    SAFEARRAY * * Intervals,
    double MinStep,
    double MaxStep,
    VARIANT TargetRate,
    IAgCrdnAxesSamplingResult ** ppRetVal
);
[Java]
public IAgCrdnAxesSamplingResult sample(
    IAgCrdnAxes Axes,
    IAgCrdnAxes ReferenceAxes,
    AgSafeArray Intervals,
    double MinStep,
    double MaxStep,
    AgVariant TargetRate
);
[Python - STK API ]
def Sample(self, Axes:"IAgCrdnAxes", ReferenceAxes:"IAgCrdnAxes", Intervals:list, MinStep:float, MaxStep:float, TargetRate:typing.Any) -> "IAgCrdnAxesSamplingResult":

Parameters

Axes
Specify an axes which orientation and angular velocity to sample.
ReferenceAxes
Specify a reference axes.
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).

See Also

© 2024 Analytical Graphics, Inc. All Rights Reserved.