formZ SDK | 5.0 API Reference | System | Math

# fz_math_3d_xyz_mm_to_pnts

Description

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

Plugin Prototype

fzrt_error_td fz_math_3d_xyz_mm_to_pnts(

fz_xyz_mm_td * | bbox,
fz_xyz_td * | pnts )

Parameters

bbox [Input]

the bounding box

pnts [Result]

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

Returns

Error codes

Availability

5.0.0.0

Example Files

util_math_3d.fsl

Function Set

fz_math_fset

Defined in

fz_math_api.h