Description
|
Retrieves point positions from a point cloud. See also the other point cloud related functions. |
C synopsis
|
const float* simGetPointCloudPoints(simInt pointCloudHandle,simInt* ptCnt,simVoid* reserved) |
C parameters |
ptCnt: a pointer receiving the number of points contained in the returned pointer.
reserved: reserved for future extensions. Set to NULL
|
C return value
|
NULL 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
|
table points=simGetPointCloudPoints(number pointCloudHandle) |
Lua parameters |
Same as C-function
|
Lua return values
|
Same as C-function
|