class VoronoiDiagram extends Serializable

A class to compute the Voronoi diagram of a set of points. See <geotrellis_home>/docs/vector/voronoi.md for more information.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VoronoiDiagram
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VoronoiDiagram(dt: DelaunayTriangulation, extent: Extent)

Value Members

  1. val dt: DelaunayTriangulation
  2. val extent: Extent
  3. val pointSet: CompleteIndexedPointSet
  4. def voronoiCell(i: Int): Option[Polygon]

    A method to generate the Voronoi cell corresponding to the point in verts(i).

    A method to generate the Voronoi cell corresponding to the point in verts(i). Note that if verts(i) is not distinct, this function may raise an exception.

  5. def voronoiCells(): Seq[Polygon]

    The polygonal regions of the Voronoi diagram.

    The polygonal regions of the Voronoi diagram. There exists one such convex polygon for each distinct vector of verts.

  6. def voronoiCellsWithPoints(): Seq[(Polygon, Coordinate)]

    Provides an iterator over the Voronoi cells of the diagram and the points that defined the corresponding polygonal regions.