Class ComponentLocater

java.lang.Object
org.locationtech.jtstest.testbuilder.geom.ComponentLocater

public class ComponentLocater extends Object
Locates the components of a Geometry which lie in a target area.
See Also:
  • Field Details

    • parentGeom

      private Geometry parentGeom
    • components

      private List components
    • aoi

      private Geometry aoi
  • Constructor Details

    • ComponentLocater

      public ComponentLocater(Geometry parentGeom)
  • Method Details

    • getComponents

      public List getComponents(Coordinate queryPt, double tolerance)
      Parameters:
      queryPt -
      tolerance -
      Returns:
      a List of the component Geometrys
    • getComponents

      public List getComponents(Geometry aoi)
    • createAOI

      private Geometry createAOI(Coordinate queryPt, double tolerance)
    • findComponents

      private void findComponents(Stack path, Geometry geom, List components)