|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--y.geom.Triangulator
This class provides algorithms for the triangulation of point sets in the plane.
Constructor Summary | |
Triangulator()
|
Method Summary | |
static Edge |
calcDelauneyTriangulation(Graph result,
DataProvider pointData,
EdgeMap revMap)
|
static Edge |
triangulatePoints(Graph result,
DataProvider pointData,
EdgeMap reverseEdgeMap)
Computes a triangulation of the given points. |
static Edge |
triangulatePoints(YList points,
Graph result,
NodeMap resultMap,
EdgeMap reverseEdgeMap)
Computes a triangulation of the given points. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Triangulator()
Method Detail |
public static Edge triangulatePoints(Graph result, DataProvider pointData, EdgeMap reverseEdgeMap)
result
- a graph whose nodes represent the points that need
to be triangulated.pointData
- must provide the location (YPoint) for each node in the given graph.reverseEdgeMap
- a nodemap that will contain for each edge its reverse
edge. If this argument is null
then no reverse edge information
will be available.
public static Edge triangulatePoints(YList points, Graph result, NodeMap resultMap, EdgeMap reverseEdgeMap)
points
- the point set to be triangulated. The points must be provided
as a YList of YPoints.result
- the resulting triangulationresultMap
- the nodemap that forms the link between a point and a node.reverseEdgeMap
- a nodemap that will contain for each edge its reverse
edge. If this argument is null
then no reverse edge information
will be available.
public static Edge calcDelauneyTriangulation(Graph result, DataProvider pointData, EdgeMap revMap)
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |