Functions | |
void | Open_Face (int offset) |
void | Close_Face (void) |
void Open_Face | ( | int | id | ) |
Prepares a face within a shell or mesh for the local overriding of drawing attributes.
id | - The face number that identifies the face. The first face is zero. |
Once the face is open you can do the following:
Set, Show, or UnSet the face color using any of the many color routines.
Set, Show, or UnSet the face Pattern.
Set, Show, or UnSet the face Visibility.
Set, Show, or UnSet a local face Normal.
These attributes override the normal segment-wide setting of the attribute and cause the face in question to be drawn differently. The settings have no effect at all on how the edges or vertices associated with the face are to be drawn.
If "color interpolating" is in effect (see Set_Rendering_Options() ) and one or more vertices have a face color set, that vertex face color will take precedence over the general face color set during an Open_Face().
If the open geometry is a shell, the identifier is the relative position in the "face list" originally passed to Insert_Shell().
If you are working on a mesh, please refer to Insert_Mesh() for guidance on the face numbering.
If the open geometry is a polycylinder, "face 0" refers to the starting endcap; "face 1" refers to the ending endcap.
void Close_Face | ( | void | ) |
Closes the session that began with an opening call to Open_Face().