NAME

glEdgeFlag, glEdgeFlagv - flag edges as either boundary or nonboundary

C SPECIFICATION

void ggllEEddggeeFFllaagg( GLboolean _f_l_a_g )

        

PARAMETERS

_f_l_a_g
Specifies the current edge flag value, either GGLL__TTRRUUEE or GGLL__FFAALLSSEE. The initial value is GGLL__TTRRUUEE.

C SPECIFICATION

void ggllEEddggeeFFllaaggvv( const GLboolean _*_f_l_a_g )

        

PARAMETERS

_f_l_a_g
Specifies a pointer to an array that contains a single boolean element, which replaces the current edge flag value.

DESCRIPTION

Each vertex of a polygon, separate triangle, or separate quadrilateral specified between a ggllBBeeggiinn/ggllEEnndd pair is marked as the start of either a boundary or nonboundary edge. If the current edge flag is true when the vertex is specified, the vertex is marked as the start of a boundary edge. Otherwise, the vertex is marked as the start of a nonboundary edge. ggllEEddggeeFFllaagg sets the edge flag bit to GGLL__TTRRUUEE if _f_l_a_g is GGLL__TTRRUUEE, and to GGLL__FFAALLSSEE otherwise.

The vertices of connected triangles and connected quadrilaterals are always marked as boundary, regardless of the value of the edge flag.

Boundary and nonboundary edge flags on vertices are significant only if GGLL__PPOOLLYYGGOONN__MMOODDEE is set to GGLL__PPOOIINNTT or GGLL__LLIINNEE. See ggllPPoollyyggoonnMMooddee.

NOTES

The current edge flag can be updated at any time. In particular, ggllEEddggeeFFllaagg can be called between a call to ggllBBeeggiinn and the corresponding call to ggllEEnndd.

ASSOCIATED GETS

ggllGGeett with argument GGLL__EEDDGGEE__FFLLAAGG

SEE ALSO

ggllBBeeggiinn((33GG)), ggllEEddggeeFFllaaggPPooiinntteerr((33GG)), ggllPPoollyyggoonnMMooddee((33GG))