VTK
|
#include <vtkPolygonBuilder.h>
Public Member Functions | |
vtkPolygonBuilder () | |
void | Reset () |
bool | InsertTriangle (vtkIdType *abc) |
void | GetPolygon (vtkIdList *poly) const |
The polygon output is the boundary of the union of the triangles. It is assumed that the input triangles form a simple polygon without internal vertices. The algorithm is quadratic to the input size, but can be sped up easily by improving the FindEdge() function. It is currently used to compute polygon for slicing.
Definition at line 40 of file vtkPolygonBuilder.h.
void vtkPolygonBuilder::Reset | ( | ) |
bool vtkPolygonBuilder::InsertTriangle | ( | vtkIdType * | abc | ) |
void vtkPolygonBuilder::GetPolygon | ( | vtkIdList * | poly | ) | const |