public class Voronoi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Voronoi.Triple
Triangle vertex and neighbors information.
|
| Constructor and Description |
|---|
Voronoi()
Constructor
|
Voronoi(double epsilon)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Voronoi.Triple[] |
generateTriangleNeighbors(com.vividsolutions.jts.geom.Geometry geometry)
Given the input TIN, construct a graph of triangle.
|
com.vividsolutions.jts.geom.GeometryCollection |
generateVoronoi(int outputDimension)
Generate Voronoi using the graph of triangle computed by
generateTriangleNeighbors(com.vividsolutions.jts.geom.Geometry) |
void |
setEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
Optional Voronoi envelope.
|
public Voronoi()
public Voronoi(double epsilon)
epsilon - When merging triangles vertex, snap tolerance of points. Snap also when creating output voronoi.public void setEnvelope(com.vividsolutions.jts.geom.Envelope envelope)
throws com.vividsolutions.jts.geom.TopologyException
envelope - LineString or MultiLineStringcom.vividsolutions.jts.geom.TopologyExceptionpublic Voronoi.Triple[] generateTriangleNeighbors(com.vividsolutions.jts.geom.Geometry geometry) throws com.vividsolutions.jts.geom.TopologyException
geometry - Collection of Polygon with 3 vertex.com.vividsolutions.jts.geom.TopologyException - If incompatible type geometry is givenpublic com.vividsolutions.jts.geom.GeometryCollection generateVoronoi(int outputDimension)
throws com.vividsolutions.jts.geom.TopologyException
generateTriangleNeighbors(com.vividsolutions.jts.geom.Geometry)com.vividsolutions.jts.geom.TopologyExceptionCopyright © 2016 CNRS. All rights reserved.