Class SimpleMinimumClearance
- Namespace
- NetTopologySuite.Precision
- Assembly
- NetTopologySuite.dll
Computes the minimum clearance of a geometry or set of geometries.
The Minimum Clearance is a measure of what magnitude of perturbation of its vertices can be tolerated by a geometry before it becomes topologically invalid. This class uses an inefficient O(N^2) scan. It is primarily for testing purposes.public class SimpleMinimumClearance
- Inheritance
-
SimpleMinimumClearance
- Inherited Members
Constructors
SimpleMinimumClearance(Geometry)
public SimpleMinimumClearance(Geometry geom)
Parameters
geom
Geometry
- See Also
Methods
GetDistance()
public double GetDistance()
Returns
- See Also
GetDistance(Geometry)
public static double GetDistance(Geometry g)
Parameters
g
Geometry
Returns
- See Also
GetLine()
public LineString GetLine()
Returns
- See Also
GetLine(Geometry)
public static Geometry GetLine(Geometry g)
Parameters
g
Geometry
Returns
- See Also