Open_Edge

Functions

void Close_Edge (void)
 Closes the session that began with an opening call to Open_Edge(). More...
 
void Open_Edge (int offset1, int offset2)
 Prepares an edge within a shell or mesh for the local overriding of drawing attributes. More...
 

Detailed Description

Function Documentation

◆ Close_Edge()

void Close_Edge ( void  )

Closes the session that began with an opening call to Open_Edge().

DETAILS

No additional details. See Open_Edge()

◆ Open_Edge()

void Open_Edge ( int  offset1,
int  offset2 
)

Prepares an edge within a shell or mesh for the local overriding of drawing attributes.

Parameters
offset1- Two offsets, defining an edge, within the array of points
offset2- first array point is at offset zero.

DETAILS

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:

  • Set, Show, or UnSet the edge color, using any of the many color routines.
  • Set, Show, or UnSet an edge weight or pattern.
  • Set, Show, or UnSet the edge visibility.

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.

NOTES

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.

RESTRICTIONS

See also
Open_Geometry, Open_Segment, Open_Face, Open_Vertex, Insert_Shell, Insert_Mesh, Set_Color, Set_Edge_Pattern, Set_Edge_Weight, Set_Normal, Set_Visibility.