public class VertexTaggedGeometryDataMapper extends Object
Coordinate
s of a
set of Geometry
s,
and the parent geometry, and transfers the source geometry
data objects to geometry components tagged with the coordinates.
This class can be used in conjunction with VoronoiDiagramBuilder
to transfer data objects from the input site geometries
to the constructed Voronoi polygons.
VoronoiDiagramBuilder
Constructor and Description |
---|
VertexTaggedGeometryDataMapper() |
Modifier and Type | Method and Description |
---|---|
List |
getCoordinates() |
void |
loadSourceGeometries(Collection geoms) |
void |
loadSourceGeometries(Geometry geomColl) |
void |
transferData(Geometry targetGeom)
Input is assumed to be a multiGeometry
in which every component has its userData
set to be a Coordinate which is the key to the output data.
|
public void loadSourceGeometries(Collection geoms)
public void loadSourceGeometries(Geometry geomColl)
public List getCoordinates()
public void transferData(Geometry targetGeom)
targetGeom
- Copyright © 2022. All rights reserved.