public class Delaunay_2 extends Triangulation_2
Constructor and Description |
---|
Delaunay_2()
Constuctor: builds an empty Delaunay triangulation.
|
Delaunay_2(Point_2 a,
Point_2 b,
Point_2 c) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<HalfedgeHandle<Point_2>> |
constraintEdges()
Computes and returns the list of constraint edges.
|
Point_2 |
dual(TriangulationDSFace_2<Point_2> f)
Outputs the Voronoi vertex dual to face f.
|
TriangulationDSVertex_2<Point_2> |
insert(Point_2 p)
Inserts point p in the Delaunay triangulation and returns the newly created vertex
|
HalfedgeHandle<Point_2> |
insert(Point_2 p,
Point_2 q)
Inserts a constraint edge in the Delaunay triangulation.
|
convexHullEdges, finiteEdges, finiteFaces, finiteVertices, isInfinite, isInfinite, isInfinite, isInfinite, isValid, locate, toString
public Delaunay_2()
public TriangulationDSVertex_2<Point_2> insert(Point_2 p)
insert
in class Triangulation_2
p
- the point to insertpublic HalfedgeHandle<Point_2> insert(Point_2 p, Point_2 q)
p,q
- the vertices of the edgepublic java.util.Collection<HalfedgeHandle<Point_2>> constraintEdges()
public Point_2 dual(TriangulationDSFace_2<Point_2> f)