Class VertexTaggedGeometryDataMapper
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.
Inherited Members
Namespace: NetTopologySuite.Triangulate
Assembly: NetTopologySuite.dll
Syntax
public class VertexTaggedGeometryDataMapper
Remarks
This class can be used in conjunction with VoronoiDiagramBuilder to transfer data objects from the input site geometries to the constructed Voronoi polygons.
Properties
| Edit this page View SourceCoordinates
Gets a value indicating the coordinates.
Declaration
public IList<Coordinate> Coordinates { get; }
Property Value
Type | Description |
---|---|
IList<Coordinate> | A list of |
Methods
| Edit this page View SourceLoadSourceGeometries(Geometry)
Loads the vertices of a geometry and maps them with th the UserData.
Declaration
public void LoadSourceGeometries(Geometry geoms)
Parameters
Type | Name | Description |
---|---|---|
Geometry | geoms | A geometry |
LoadSourceGeometries(GeometryCollection)
Loads the vertices of the geometries of a GeometryCollection
and maps them with the UserData.
Declaration
public void LoadSourceGeometries(GeometryCollection geomColl)
Parameters
Type | Name | Description |
---|---|---|
GeometryCollection | geomColl | A |
LoadSourceGeometries(ICollection<Geometry>)
Loads the vertices of a collection of geometries and maps them with the UserData.
Declaration
public void LoadSourceGeometries(ICollection<Geometry> geoms)
Parameters
Type | Name | Description |
---|---|---|
ICollection<Geometry> | geoms | A collection of geometry |
TransferData(Geometry)
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.
Declaration
public void TransferData(Geometry targetGeom)
Parameters
Type | Name | Description |
---|---|---|
Geometry | targetGeom |