GetFaceExtent Data Member Function

Populates two <Vec> objects with the minimum and maximum extent of a face in a <Mesh>.

Prototype

int32 GetFaceExtent( int32 p_nFaceIndex, Vec a_vMin, Vec a_vMax )

Parameters

Parameter Type Parameter Name Documentation
int32p_nFaceIndexThe index of the face to calculate extents for.
<Vec>a_vMinA pointer to a <Vec> object in which will be stored the minimum extent of the face in 3D coordinates.
<Vec>a_vMaxA pointer to a <Vec> object in which will be stored the maximum extent of the face in 3D coordinates.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.