class Desperate
extends java.lang.Object
| Constructor and Description |
|---|
Desperate() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static boolean |
desperate(Triangulator triRef,
int ind,
int i,
boolean[] splitted)
the functions in this file try to ensure that we always end up with
something that (topologically) is a triangulation.
|
(package private) static boolean |
existsCrossOver(Triangulator triRef,
int ind,
int[] ind1,
int[] i1,
int[] ind2,
int[] i2,
int[] ind3,
int[] i3,
int[] ind4,
int[] i4) |
(package private) static boolean |
existsSplit(Triangulator triRef,
int ind,
int[] ind1,
int[] i1,
int[] ind2,
int[] i2) |
(package private) static boolean |
foundSplit(Triangulator triRef,
int ind5,
int i5,
int ind,
int ind1,
int i1,
int i3,
int i4,
int[] ind2,
int[] i2) |
(package private) static void |
handleCrossOver(Triangulator triRef,
int ind1,
int i1,
int ind2,
int i2,
int ind3,
int i3,
int ind4,
int i4) |
(package private) static void |
handleSplit(Triangulator triRef,
int ind1,
int i1,
int ind3,
int i3) |
(package private) static boolean |
letsHope(Triangulator triRef,
int ind) |
(package private) static int |
windingNumber(Triangulator triRef,
int ind,
Point2f p)
This function computes the winding number of a polygon with respect to a
point p.
|
static boolean desperate(Triangulator triRef, int ind, int i, boolean[] splitted)
static boolean existsCrossOver(Triangulator triRef, int ind, int[] ind1, int[] i1, int[] ind2, int[] i2, int[] ind3, int[] i3, int[] ind4, int[] i4)
static void handleCrossOver(Triangulator triRef, int ind1, int i1, int ind2, int i2, int ind3, int i3, int ind4, int i4)
static boolean letsHope(Triangulator triRef, int ind)
static boolean existsSplit(Triangulator triRef, int ind, int[] ind1, int[] i1, int[] ind2, int[] i2)
static int windingNumber(Triangulator triRef, int ind, Point2f p)
static boolean foundSplit(Triangulator triRef, int ind5, int i5, int ind, int ind1, int i1, int i3, int i4, int[] ind2, int[] i2)
static void handleSplit(Triangulator triRef, int ind1, int i1, int ind3, int i3)
Copyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.