Package | Description |
---|---|
Jcg.graph | |
Jcg.graph.drawing | |
Jcg.viewer.editor2d |
Modifier and Type | Method and Description |
---|---|
static GeometricGraph_2 |
GraphBuilder.getGraphFrom2DTriangulation(java.util.List<Point_2> vertices,
java.util.List<Point_2[]> faces)
Construct the graph corresponding to a 2D triangulation.
|
Modifier and Type | Class and Description |
---|---|
class |
GraphDrawing_2
Provides methods for computing drawings of graphs (using an array based representation of the graph)
|
Modifier and Type | Field and Description |
---|---|
GeometricGraph_2 |
Canvas2D.graph |
Modifier and Type | Method and Description |
---|---|
void |
Draw.drawGraph(GeometricGraph_2 graph)
Draw the vertices and edges of a graph
|
static Node<Point_2> |
Canvas2D.findClosestVertex(GeometricGraph_2 graph,
Point_2 p,
double epsilon)
Return the list of vertices which are at distance at most epsilon from point p
|
static java.util.Collection<Node<Point_2>> |
Canvas2D.findCloseVertices(GeometricGraph_2 graph,
Point_2 p,
double epsilon)
Return the list of vertices which are at distance at most epsilon from point p
|