VTK
Public Member Functions | List of all members
vtkPolygonBuilder Class Reference

#include <vtkPolygonBuilder.h>

Public Member Functions

 vtkPolygonBuilder ()
 
void Reset ()
 
bool InsertTriangle (vtkIdType *abc)
 
void GetPolygon (vtkIdList *poly) const
 

Detailed Description

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.

Tests:
vtkPolygonBuilder (Tests)

Definition at line 40 of file vtkPolygonBuilder.h.

Constructor & Destructor Documentation

vtkPolygonBuilder::vtkPolygonBuilder ( )

Member Function Documentation

void vtkPolygonBuilder::Reset ( )
bool vtkPolygonBuilder::InsertTriangle ( vtkIdType abc)
void vtkPolygonBuilder::GetPolygon ( vtkIdList poly) const

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