Method CreateTrajectoryFragment
CreateTrajectoryFragment(MetricIndex, SamplingTime)
Creates a trajectory fragment from a sampling time.
Declaration
public Binary.TrajectoryFragment CreateTrajectoryFragment(Binary.MetricIndex metricIndex, SamplingTime samplingTime)
Parameters
Type | Name | Description |
---|---|---|
Binary.Metric |
metricIndex | The metric defining the trajectory fragment layout. |
Sampling |
samplingTime | The sampling time that the trajectory fragment should be created for. |
Returns
Type | Description |
---|---|
Binary.Trajectory |
The resulting trajectory fragment. |
CreateTrajectoryFragment(MetricIndex, NativeSlice<AffineTransform>)
Creates a trajectory fragment from sequence of root transforms.
Declaration
public Binary.TrajectoryFragment CreateTrajectoryFragment(Binary.MetricIndex metricIndex, NativeSlice<AffineTransform> trajectory)
Parameters
Type | Name | Description |
---|---|---|
Binary.Metric |
metricIndex | The metric defining the trajectory fragment layout. |
Native |
trajectory | Sequence of root transforms in character space. |
Returns
Type | Description |
---|---|
Binary.Trajectory |
The resulting trajectory fragment. |
Remarks
The root transforms passed as argument are expected to be relative to the world origin, i.e. in character space.