formZ SDK | 5.0 API Reference | System | Math

fz_math_2d_xy_mm_to_pnts

Description

Converts a fz_xy_mm_td into an array of 4 fz_xy_td representing the corners of the bounding box. The pnts array passed in must be allocated by the calling function to at least 4 items.

Plugin Prototype

fzrt_error_td fz_math_2d_xy_mm_to_pnts(

fz_xy_mm_td *

bbox,

fz_xy_td *

pnts )

Parameters

bbox [Input]

the bounding box

pnts [Result]

the 4 points representing the corners of the box. The pnts array must be allocated by the calling function to at least 4 items.

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_2d.fsl

Function Set

fz_math_fset


Defined in

fz_math_api.h