Creates a map between the vertex
Coordinates of a set of
Geometrys, 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.
Authors:
Martin Davis
See also:
VoronoiDiagramBuilder
public VertexTaggedGeometryDataMapper()
public void loadSourceGeometries(Collection
geoms)
public void loadSourceGeometries(Geometry geomColl)
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. The Coordinate is used to determine the output data object to be written back into the component.