Class ComponentLocater
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.geom.ComponentLocater
-
public class ComponentLocater extends java.lang.ObjectLocates the components of a Geometry which lie in a target area.- See Also:
FacetLocater
-
-
Field Summary
Fields Modifier and Type Field Description private Geometryaoiprivate java.util.Listcomponentsprivate GeometryparentGeom
-
Constructor Summary
Constructors Constructor Description ComponentLocater(Geometry parentGeom)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private GeometrycreateAOI(Coordinate queryPt, double tolerance)private voidfindComponents(java.util.Stack path, Geometry geom, java.util.List components)java.util.ListgetComponents(Coordinate queryPt, double tolerance)java.util.ListgetComponents(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)
-
-