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.MetricIndex | metricIndex | The metric defining the trajectory fragment layout. |
| SamplingTime | samplingTime | The sampling time that the trajectory fragment should be created for. |
Returns
| Type | Description |
|---|---|
| Binary.TrajectoryFragment | 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.MetricIndex | metricIndex | The metric defining the trajectory fragment layout. |
| NativeSlice<AffineTransform> | trajectory | Sequence of root transforms in character space. |
Returns
| Type | Description |
|---|---|
| Binary.TrajectoryFragment | 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.