Package org.locationtech.jts.triangulate
Class VertexTaggedGeometryDataMapper
- java.lang.Object
-
- org.locationtech.jts.triangulate.VertexTaggedGeometryDataMapper
-
public class VertexTaggedGeometryDataMapper extends Object
Creates a map between the vertexCoordinates of a set ofGeometrys, 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
VoronoiDiagramBuilderto transfer data objects from the input site geometries to the constructed Voronoi polygons.- Author:
- Martin Davis
- See Also:
VoronoiDiagramBuilder
-
-
Constructor Summary
Constructors Constructor Description VertexTaggedGeometryDataMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListgetCoordinates()voidloadSourceGeometries(Collection geoms)voidloadSourceGeometries(Geometry geomColl)voidtransferData(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.
-
-
-
Method Detail
-
loadSourceGeometries
public void loadSourceGeometries(Collection geoms)
-
loadSourceGeometries
public void loadSourceGeometries(Geometry geomColl)
-
getCoordinates
public List getCoordinates()
-
transferData
public 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. The Coordinate is used to determine the output data object to be written back into the component.- Parameters:
targetGeom-
-
-