Description
|
Retrieves point positions from a point cloud. See also the other point cloud related functions. |
C/C++ synopsis
|
const float* simGetPointCloudPoints(simInt pointCloudHandle,simInt* ptCnt,simVoid* reserved) |
C/C++ parameters |
pointCloudHandle: the handle of the point cloud. See also sim.getObject
ptCnt: a pointer receiving the number of points contained in the returned pointer.
reserved: reserved for future extensions. Set to nullptr
|
C/C++ return value
|
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
|
Lua synopsis
|
float[] points=sim.getPointCloudPoints(int pointCloudHandle) |
Lua parameters |
Similar to the C-function counterpart
|
Lua return values
|
Similar to the C-function counterpart
|
Python synopsis |
list points=sim.getPointCloudPoints(int pointCloudHandle) |