NetTopologySuite
|
Dissolves the linear components from a collection of IGeometrys. into a set of maximal-length ILineStrings in which every unique segment appears once only. The output linestrings run between node vertices of the input, which are vertices which have either degree 1, or degree 3 or greater. More...
Public Member Functions | |
void | Add (IGeometry geometry) |
Adds a IGeometry to be dissolved. Any number of geometries may be adde by calling this method multiple times. Any type of Geometry may be added. The constituent linework will be extracted to be dissolved. More... | |
void | Add (IEnumerable< IGeometry > geometries) |
Adds a collection of Geometries to be processed. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted. More... | |
IGeometry | GetResult () |
Gets the dissolved result as a IMultiLineString. More... | |
Static Public Member Functions | |
static IGeometry | Dissolve (IGeometry g) |
Dissolves the linear components in a geometry. More... | |
Dissolves the linear components from a collection of IGeometrys. into a set of maximal-length ILineStrings in which every unique segment appears once only. The output linestrings run between node vertices of the input, which are vertices which have either degree 1, or degree 3 or greater.
Use cases for dissolving linear components include generalization (in particular, simplifying polygonal coverages), and visualization (in particular, avoiding symbology conflicts when depicting shared polygon boundaries).
This class does NOT node the input lines. If there are line segments crossing in the input, they will still cross in the output. /remarks>
void NetTopologySuite.Dissolve.LineDissolver.Add | ( | IGeometry | geometry | ) |
Adds a IGeometry to be dissolved. Any number of geometries may be adde by calling this method multiple times. Any type of Geometry may be added. The constituent linework will be extracted to be dissolved.
geometry | geometry to be line-merged |
void NetTopologySuite.Dissolve.LineDissolver.Add | ( | IEnumerable< IGeometry > | geometries | ) |
Adds a collection of Geometries to be processed. May be called multiple times. Any dimension of Geometry may be added; the constituent linework will be extracted.
geometries | the geometries to be line-merged |
|
static |
Dissolves the linear components in a geometry.
g | the geometry to dissolve |
IGeometry NetTopologySuite.Dissolve.LineDissolver.GetResult | ( | ) |
Gets the dissolved result as a IMultiLineString.