getPoints: Instance Method

- (unsigned int) getPoints:(PxPointF *) outPoints;

References: PxPointF

Writes the transformed cutout points into the caller’s buffer.

Parameters

  • outPoints — Buffer that receives the transformed points; it must hold at least numPoints elements.

Return Value

The number of points written, or 0 if the cutout is invalid (does not have exactly four corners, or contains a non-finite coordinate).

Top