NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Densify.Densifier Class Reference

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...
 

Detailed Description

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>

Member Function Documentation

static IGeometry NetTopologySuite.Densify.Densifier.Densify ( IGeometry  geom,
double  distanceTolerance 
)
static

Densifies a geometry using a given distance tolerance, and respecting the input geometry's IPrecisionModel.

Parameters
geomThe geometry densify
distanceToleranceThe distance tolerance (DistanceTolerance)
Returns
The densified geometry
IGeometry NetTopologySuite.Densify.Densifier.GetResultGeometry ( )

Gets the densified geometry.

Returns
The densified geometry

Property Documentation

double NetTopologySuite.Densify.Densifier.DistanceTolerance
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.


The documentation for this class was generated from the following file: