Package org.locationtech.jts.triangulate
Class VertexTaggedGeometryDataMapper
java.lang.Object
org.locationtech.jts.triangulate.VertexTaggedGeometryDataMapper
Creates a map between the vertex
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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
loadSourceGeometries
(Collection geoms) void
loadSourceGeometries
(Geometry geomColl) private void
loadVertices
(Coordinate[] pts, Object data) 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.
-
Field Details
-
coordDataMap
-
-
Constructor Details
-
VertexTaggedGeometryDataMapper
public VertexTaggedGeometryDataMapper()
-
-
Method Details
-
loadSourceGeometries
-
loadSourceGeometries
-
loadVertices
-
getCoordinates
-
transferData
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
-
-