Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
VBW::TriangleWithFlags Struct Reference

A triangle with flags. More...

#include <geogram/voronoi/convex_cell.h>

Inheritance diagram for VBW::TriangleWithFlags:
VBW::Triangle

Public Attributes

ushort flags
 
- Public Attributes inherited from VBW::Triangle
ushort i
 
ushort j
 
ushort k
 

Additional Inherited Members

- Public Member Functions inherited from VBW::Triangle
ushort operator[] (unsigned int index) const
 
ushortoperator[] (unsigned int index)
 

Detailed Description

A triangle with flags.

The flags are used for two purposes:

  • bits [0..15] are used to chain the triangles: there are two lists of triangles, the valid triangles and the free list. End of list is indicated by value 32767.
  • bit 16 (32768) is set if the triangle is in conflict.

Definition at line 347 of file convex_cell.h.


The documentation for this struct was generated from the following file: