Class FuzzyPointLocator
java.lang.Object
org.locationtech.jts.operation.overlay.validate.FuzzyPointLocator
Finds the most likely
Location
of a point relative to
the polygonal components of a geometry, using a tolerance value.
If a point is not clearly in the Interior or Exterior,
it is considered to be on the Boundary.
In other words, if the point is within the tolerance of the Boundary,
it is considered to be on the Boundary; otherwise,
whether it is Interior or Exterior is determined directly.- Version:
- 1.7
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate double
private Geometry
private MultiLineString
private PointLocator
private LineSegment
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate MultiLineString
Extracts linework for polygonal components.int
private boolean
-
Field Details
-
g
-
boundaryDistanceTolerance
private double boundaryDistanceTolerance -
linework
-
ptLocator
-
seg
-
-
Constructor Details
-
FuzzyPointLocator
-
-
Method Details
-
getLocation
-
extractLinework
Extracts linework for polygonal components.- Parameters:
g
- the geometry from which to extract- Returns:
- a lineal geometry containing the extracted linework
-
isWithinToleranceOfBoundary
-