Show_LOD_Type

Functions

void Show_LOD_Type (HC_KEY key, int level, char *type)
 Determines whether a given LOD level exists, and if so, its type. More...
 

Detailed Description

Function Documentation

◆ Show_LOD_Type()

void Show_LOD_Type ( HC_KEY  key,
int  level,
char *  type 
)

Determines whether a given LOD level exists, and if so, its type.

Parameters
key- The unique identifier returned by a previous call to Insert_Shell() or Insert_Mesh()
level- LOD level to be tested.
type- Type of object found first in a given level. Returned to user. Passed by reference always.

DETAILS

For a particular level of detail, Show_LOD_Type returns the object type of the very first object it finds. If no object is found, type is returned as "invalid", in which case the user can assume the the LOD level does not exist.

NOTES

To determine the types of all objects in a given LOD, use a contents search in conjunction with Open_LOD.

RESTRICTIONS

See also
Insert_Shell, Open_Geometry, Set_Rendering_Options, Open_LOD, Begin_Contents_Search