public class SimpleMinimumClearance extends Object
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.
MinimumClearance
Constructor and Description |
---|
SimpleMinimumClearance(Geometry geom) |
Modifier and Type | Method and Description |
---|---|
double |
getDistance() |
static double |
getDistance(Geometry g) |
LineString |
getLine() |
static Geometry |
getLine(Geometry g) |
public SimpleMinimumClearance(Geometry geom)
public static double getDistance(Geometry g)
public double getDistance()
public LineString getLine()
Copyright © 2022. All rights reserved.