public class DTWithBigPoints
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
flipCounter |
static int |
orientPredCounter |
static int |
predCounter |
Constructor and Description |
---|
DTWithBigPoints(java.util.List<Point> points) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(Point point)
add the point to the tesselation.
|
java.util.List<int[]> |
getEdges() |
java.util.List<Triangle> |
getTriangles() |
boolean |
inCH(Triangle t) |
boolean |
onCH(Triangle t) |
Triangle |
walk(Point p) |
Triangle |
walk(Point p,
java.util.List<Point> trace) |
Triangle |
walk(Point p,
java.util.List<Point> trace,
Triangle t)
walk to find the triangle containing the point
|
public static int flipCounter
public static int predCounter
public static int orientPredCounter
public DTWithBigPoints(java.util.List<Point> points)
public java.util.List<Triangle> getTriangles()
public java.util.List<int[]> getEdges()
public Triangle walk(Point p, java.util.List<Point> trace, Triangle t)
p
- the location to find.trace
- if non-null, then keep a list of triangles visited.t
- initial trianglepublic void addPoint(Point point)
point
- public boolean inCH(Triangle t)
public boolean onCH(Triangle t)