launchExtractVec3FromSpatial#

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

bool isaacsim::physics::newton::tensors::launchExtractVec3FromSpatial(
const float *spatialSrc,
float *vec3Dst,
int n,
void *stream = nullptr,
)#

Extract the linear component of each :class:wp::spatial_vector into a vec3.

Parameters:
  • spatialSrc – Device source, shape [n, 6].

  • vec3Dst – Device output, shape [n, 3].

  • n – Number of spatial vectors.

  • stream – CUDA stream.

Returns:

true if the launch succeeded.