Brief Index      Full Index      I.M. Reference

MShow_Face_Normals


Functions

void MShow_Face_Normals (HC_KEY key, int offset, int pcount, HC_POINT *normals)
 MShow_Net_Face_Normals (HC_KEY key, int offset, int pcount, HC_POINT *normals)

Function Documentation

void MShow_Face_Normals ( HC_KEY  key,
int  foffset,
int  fcount,
HC_POINT *  normals 
)

Returns the normals set on the faces of some geometry withough having to open each face.

Parameters:
key - Key to the piece of geometry to query.
foffset - Index of the key's face list on which to start querying values.
fcount - Number of faces from foffset to query
normals - Array of (x,y, z) triplets. Passed by reference. Returned to user.

DETAILS

NOTES

RESTRICTIONS

See also:
MSet_Face_Normals, Set_Normal, Show_Normal

void MShow_Net_Face_Normals ( HC_KEY  key,
int  foffset,
int  fcount,
HC_POINT *  normals 
)

Similar to MShow_Face_Normals(), but returns the net effective normals set on the faces of some geometry.

Parameters:
key - Key to the piece of geometry to query.
foffset - Index of the key's face list on which to start querying values.
fcount - Number of faces from foffset to query
normals - Array of (x,y, z) triplets. Passed by reference. Returned to user.

DETAILS

MShow_Net_Face_Normals differs from the regular MShow_Face_Normals in that it can return the normals that HOOPS calculates automatically, in cases where the normals are not explicitly set. This is particularly useful when dealing with NURBS surfaces, as it is the only way to query the normals associated with the HOOPS-specific tesselation of a NURBS Surface.

NOTES

RESTRICTIONS

See also:
MSet_Face_Normals, Set_Normal, Show_Normal

Main Index
Brief Index      Full Index      I.M. Functions