Function rs2_get_frame_vertices

Function Documentation

rs2_vertex *rs2_get_frame_vertices(const rs2_frame *frame, rs2_error **error)

When called on Points frame type, this method returns a pointer to an array of 3D vertices of the model The coordinate system is: X right, Y up, Z away from the camera. Units: Meters

Parameters:
  • frame[in] Points frame

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

Pointer to an array of vertices, lifetime is managed by the frame