launchGatherSpatialVector#

Fully qualified name: isaacsim::physics::newton::tensors::launchGatherSpatialVector

bool isaacsim::physics::newton::tensors::launchGatherSpatialVector(
const wp::spatial_vector *src,
float *dst,
const int *devIndices,
int numIndices,
void *stream = nullptr,
)#

Gather :class:wp::spatial_vector entries (6 floats each).

Parameters:
  • src – Device pointer to an array of :class:wp::spatial_vector.

  • dst – Device pointer to [numIndices, 6] floats.

  • devIndices – Device index array, length numIndices.

  • numIndices – Number of gather slots.

  • stream – CUDA stream.

Returns:

true if the launch succeeded.