
public static class SweepHullDelaunay2D.Triangle extends Object
| Modifier and Type | Field and Description | 
|---|---|
| int | aReferences to points in Delaunay2D.points | 
| int | abReferences to neighbor triangles | 
| int | bReferences to points in Delaunay2D.points | 
| int | bcReferences to neighbor triangles | 
| int | cReferences to points in Delaunay2D.points | 
| int | caReferences to neighbor triangles | 
| Vector | mCenter vector | 
| double | r2Circumcircle parameters | 
| Constructor and Description | 
|---|
| SweepHullDelaunay2D.Triangle(int x,
                            int y,
                            int z)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| (package private) void | copyFrom(SweepHullDelaunay2D.Triangle o)Copy the values from another triangle. | 
| (package private) SweepHullDelaunay2D.Orientation | findOrientation(SweepHullDelaunay2D.Triangle oth)Find the orientation of the triangles to each other. | 
| boolean | inCircle(Vector opp)Test whether a point is within the circumference circle. | 
| (package private) boolean | isClockwise(List<Vector> points)Verify that the triangle is clockwise | 
| (package private) void | makeClockwise(List<Vector> points)Make the triangle clockwise | 
| (package private) void | replaceEdge(int a,
           int b,
           int ol,
           int ne)Replace an edge | 
| (package private) void | set(int a,
   int ab,
   int b,
   int bc,
   int c,
   int ca)Update the triangle. | 
| String | toString() | 
| (package private) boolean | updateCircumcircle(List<Vector> points)Recompute the location and squared radius of circumcircle. | 
public int a
public int b
public int c
public int ab
public int ca
public int bc
public double r2
public Vector m
public SweepHullDelaunay2D.Triangle(int x,
                            int y,
                            int z)
x - y - z - void replaceEdge(int a,
               int b,
               int ol,
               int ne)
a - First pointb - Second pointol - Previous valuene - New valuevoid set(int a,
       int ab,
       int b,
       int bc,
       int c,
       int ca)
a - First pointab - Edgeb - Second pointbc - Edgec - Third pointca - Edgepublic boolean inCircle(Vector opp)
opp - Test vectorSweepHullDelaunay2D.Orientation findOrientation(SweepHullDelaunay2D.Triangle oth)
oth - Other trianglevoid copyFrom(SweepHullDelaunay2D.Triangle o)
o - object to copy fromboolean updateCircumcircle(List<Vector> points)