public interface Triangulator
Outline,
Triangulation| Modifier and Type | Method and Description |
|---|---|
void |
addCurve(List<Triangle> sink,
Outline outline,
float sharpness)
Add a curve to the list of Outlines
describing the shape
|
void |
generate(List<Triangle> sink)
Generate the triangulation of the provided
List of
Outlines |
int |
getAddedVerticeCount()
Return the number of newly added vertices during
addCurve(List, Outline, float). |
void |
reset()
Reset the triangulation to initial state
Clearing cached data
|
void addCurve(List<Triangle> sink, Outline outline, float sharpness)
sink - list where the generated triangles will be addedoutline - a bounding Outlinesharpness - TODOvoid generate(List<Triangle> sink)
Outlinessink - list where the generated triangles will be addedvoid reset()
int getAddedVerticeCount()
addCurve(List, Outline, float).Copyright 2010 JogAmp Community.