QPoint2dBuffer.unquantizePoint Function

Extracts and unquantizes the point at the specified index from a buffer.

unquantizePoint(buffer: QPoint2dBuffer, pointIndex: number, result?: Point2d): Point2d

@returns The point at pointIndex.

@throws Error if pointIndex is out of bounds.

Parameter Type Description
buffer QPoint2dBuffer The array of points and the quantization parameters.
pointIndex number  
result Point2d If supplied, a preallocated Point2d to initialize with the result and return.

Returns - Point2d

The point at pointIndex.

Defined in

Last Updated: 14 November, 2024