public class DelaunayTriangulation extends Triangulation
Modifier and Type | Field and Description |
---|---|
boolean |
debug |
Constructor and Description |
---|
DelaunayTriangulation(Simplex triangle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Set |
delaunayPlace(Pnt site)
Place a new point site into the DT.
|
Simplex |
locate(Pnt point)
Locate the triangle with point (a Pnt) inside (or on) it.
|
static void |
main(String[] args)
Main program; used for testing.
|
contains, iterator, neighborOpposite, neighbors, printStuff, size, toString, update
public DelaunayTriangulation(Simplex triangle)
triangle
- the initial trianglepublic Simplex locate(Pnt point)
point
- the Pnt to locatepublic Set delaunayPlace(Pnt site)
site
- the new Pntpublic static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.