Class ComponentLocater
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.ComponentLocater
-
public class ComponentLocater extends java.lang.Object
Locates the components of a Geometry which lie in a target area.- See Also:
FacetLocater
-
-
Field Summary
Fields Modifier and Type Field Description private Geometry
aoi
private java.util.List
components
private Geometry
parentGeom
-
Constructor Summary
Constructors Constructor Description ComponentLocater(Geometry parentGeom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Geometry
createAOI(Coordinate queryPt, double tolerance)
private void
findComponents(java.util.Stack path, Geometry geom, java.util.List components)
java.util.List
getComponents(Coordinate queryPt, double tolerance)
java.util.List
getComponents(Geometry aoi)
-
-
-
Constructor Detail
-
ComponentLocater
public ComponentLocater(Geometry parentGeom)
-
-
Method Detail
-
getComponents
public java.util.List getComponents(Coordinate queryPt, double tolerance)
- Parameters:
queryPt
-tolerance
-- Returns:
- a List of the component Geometrys
-
getComponents
public java.util.List getComponents(Geometry aoi)
-
createAOI
private Geometry createAOI(Coordinate queryPt, double tolerance)
-
findComponents
private void findComponents(java.util.Stack path, Geometry geom, java.util.List components)
-
-