simGetPointCloudPoints

Retrieves point positions from a point cloud

C++ synopsis

const double* simGetPointCloudPoints(int pointCloudHandle, int* ptCnt, void* reserved)

Arguments

  • pointCloudHandle: handle of the point cloud
  • ptCnt: pointer receiving the number of points contained in the returned pointer.
  • reserved: reserved for future extensions. Set to nullptr

Return

  • nullptr if operation was not successful or if the point cloud doesn't contain any points. Otherwise a pointer to the point [x y z] positions, relative to the point cloud reference frame


See also: