|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for finding the Delaunay triangulation of a collection of points.
Method Summary | |
void |
execute(jdsl.core.api.ObjectIterator oi)
Creates a triangulation with the given set of points. |
jdsl.graph.api.Vertex |
getCorrespVertex(jdsl.geomobj.api.Point2D p)
Given a point in the original point set, returns the corresponding vertex in the triangulation. |
jdsl.core.api.ObjectIterator |
getOrigPoint(jdsl.graph.api.Vertex v)
Given a vertex in the triangulation, returns an iterator over the points that correspond to it. |
jdsl.map.api.InspectableEmbeddedPlanarGraph |
getTriangulation()
Returns a Delaunay triangulation for the collection of points. |
Method Detail |
public void execute(jdsl.core.api.ObjectIterator oi) throws java.lang.ClassCastException
oi
- an ObjectIterator containing Point2Ds.java.lang.ClassCastException
- if the iterator contains objects that are
not Point2Ds.public jdsl.map.api.InspectableEmbeddedPlanarGraph getTriangulation() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if execute() was not called first.public jdsl.graph.api.Vertex getCorrespVertex(jdsl.geomobj.api.Point2D p) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
p
- the point in the original point set.java.lang.IllegalArgumentException
- if p is not in the original point
set.java.lang.IllegalStateException
- if execute() was not called first.public jdsl.core.api.ObjectIterator getOrigPoint(jdsl.graph.api.Vertex v) throws java.lang.IllegalArgumentException, java.lang.IllegalStateException
v
- the vertex in the triangulation.java.lang.IllegalArgumentException
- if v is not in the triangulation.java.lang.IllegalStateException
- if execute() was not called first.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |