NetTopologySuite
|
Densifies a geometry by inserting extra vertices along the line segments contained in the geometry. All segments in the created densified geometry will be no longer than than the given distance tolerance. More...
Public Member Functions | |
Densifier (IGeometry inputGeom) | |
IGeometry | GetResultGeometry () |
Gets the densified geometry. More... | |
Static Public Member Functions | |
static IGeometry | Densify (IGeometry geom, double distanceTolerance) |
Densifies a geometry using a given distance tolerance, and respecting the input geometry's IPrecisionModel. More... | |
Properties | |
double | DistanceTolerance [get, set] |
Gets or sets the distance tolerance for the densification. All line segments in the densified geometry will be no longer than the distance tolereance. Simplified geometry will be within this distance of the original geometry. The distance tolerance must be positive. More... | |
Densifies a geometry by inserting extra vertices along the line segments contained in the geometry. All segments in the created densified geometry will be no longer than than the given distance tolerance.
Densified polygonal geometries are guaranteed to be topologically correct.
The coordinates created during densification respect the input geometry's IPrecisionModel.
Note: At some future point this class will offer a variety of densification strategies.
<author>Martin Davis</author>
|
static |
Densifies a geometry using a given distance tolerance, and respecting the input geometry's IPrecisionModel.
geom | The geometry densify |
distanceTolerance | The distance tolerance (DistanceTolerance) |
IGeometry NetTopologySuite.Densify.Densifier.GetResultGeometry | ( | ) |
Gets the densified geometry.
|
getset |
Gets or sets the distance tolerance for the densification. All line segments in the densified geometry will be no longer than the distance tolereance. Simplified geometry will be within this distance of the original geometry. The distance tolerance must be positive.