Functions | |
void | Open_Edge (int offset1, int offset2) |
void | Close_Edge (void) |
void Open_Edge | ( | int | offset1, |
int | offset2 | ||
) |
Prepares an edge within a shell or mesh for the local overriding of drawing attributes.
offset1 | - Two offsets, defining an edge, within the array of points |
offset2 | - first array point is at offset zero. |
Open_Edge() is analogous to Open_Segment() . Open_Edge() makes a particular edge within a shell or mesh ready for further work. The shell or mesh must already have been opened with a call to Open_Geometry() .
Once the edge is open you may do the following:
These attributes override the normal segment-wide setting of the attribute and cause the edge in question to be drawn differently. The settings have no effect at all on how the faces or vertices associated with the edge are to be drawn.
Your program should make sure that there is eventually a Close_Edge() to match every Open_Edge() .
If you are working on a mesh, refer to the Insert_Mesh() manual page for guidance on the vertex or edge numbering.
If you are using Open_Edge() to set individual visibilities you may want to use the special global edge-visibility options instead or in addition. Please see Set_Visibility() for details.
void Close_Edge | ( | void | ) |
Closes the session that began with an opening call to Open_Edge().
No additional details. See Open_Edge()