simSubtractObjectFromPointCloud

Removes an object from a point cloud, as a subtraction

C++ synopsis

int simSubtractObjectFromPointCloud(int pointCloudHandle, int objectHandle, int options, double tolerance, void* reserved)

Arguments

  • pointCloudHandle: handle of the point cloud
  • objectHandle: handle of the object to subtract. Only potentially measurable objects are supported
  • options: reserved. Set to 0
  • tolerance: distance used as a tolerance value
  • reserved: reserved for future extensions. Set to nullptr

Return

  • -1 if operation was not successful, otherwise the total number of points in the point cloud


See also: