Function rs2_get_frame_points_count

Function Documentation

int rs2_get_frame_points_count(const rs2_frame *frame, rs2_error **error)

When called on Points frame type, this method returns the number of vertices in the frame

Parameters:
  • frame[in] Points frame

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

Returns:

Number of vertices