Modifier and Type | Method and Description |
---|---|
Triangle |
DelaunayTriangulation.find(Point p)
finds the triangle the query point falls in, note if out-side of this
triangulation a half plane triangle will be returned (see contains), the
search has expected time of O(n^0.5), and it starts form a fixed triangle
(this.startTriangle),
|
Triangle |
DelaunayTriangulation.find(Point p,
Triangle start)
finds the triangle the query point falls in, note if out-side of this
triangulation a half plane triangle will be returned (see contains). the
search starts from the the start triangle
|
Triangle |
GridIndex.findCellTriangleOf(Point point)
Finds a triangle near the given point
|
Triangle |
Triangle.getAbTriangle()
returns the consecutive triangle which shares this triangle a,b edge.
|
Triangle |
Triangle.getBcTriangle()
returns the consecutive triangle which shares this triangle b,c edge.
|
Triangle |
Triangle.getCaTriangle()
returns the consecutive triangle which shares this triangle c,a edge.
|
Modifier and Type | Method and Description |
---|---|
Vector<Triangle> |
DelaunayTriangulation.findTriangleNeighborhood(Triangle firstTriangle,
Point point) |
Iterator<Triangle> |
DelaunayTriangulation.getLastUpdatedTriangles()
returns an iterator object involved in the last update.
|
List<Triangle> |
DelaunayTriangulation.getTriangulation() |
Iterator<Triangle> |
DelaunayTriangulation.trianglesIterator()
computes the current set (vector) of all triangles and return an iterator
to them.
|
Modifier and Type | Method and Description |
---|---|
Point[] |
DelaunayTriangulation.calcVoronoiCell(Triangle triangle,
Point p)
Calculates a Voronoi cell for a given neighborhood in this triangulation.
|
Triangle |
DelaunayTriangulation.find(Point p,
Triangle start)
finds the triangle the query point falls in, note if out-side of this
triangulation a half plane triangle will be returned (see contains). the
search starts from the the start triangle
|
Vector<Triangle> |
DelaunayTriangulation.findTriangleNeighborhood(Triangle firstTriangle,
Point point) |
void |
Triangle.setAbTriangle(Triangle abTriangle) |
void |
Triangle.setBcTriangle(Triangle bcTriangle) |
void |
Triangle.setCanext(Triangle canext) |
Modifier and Type | Method and Description |
---|---|
static void |
IOParsers.exportSmf(List<Triangle> triangulation,
File smfFile) |
static void |
IOParsers.exportSmf(List<Triangle> triangulation,
OutputStream os) |
static void |
IOParsers.exportSmf(List<Triangle> triangulation,
String smfFile) |
static void |
IOParsers.exportSmf(List<Triangle> triangulation,
Writer writer) |
void |
GridIndex.updateIndex(Iterator<Triangle> updatedTriangles)
Updates the grid index to reflect changes to the triangulation.
|
Copyright © 2016. All rights reserved.