Package hec.rss.model

Class GeometryContainsWorldLinePredicate

java.lang.Object
hec.rss.model.GeometryContainsWorldLinePredicate
All Implemented Interfaces:
Predicate<hec.map.WorldLine>

public class GeometryContainsWorldLinePredicate extends Object implements Predicate<hec.map.WorldLine>
Simple predicate class that will test a World Line to see if it is contained by the supplied Geometry.
  • Constructor Details

    • GeometryContainsWorldLinePredicate

      public GeometryContainsWorldLinePredicate(com.vividsolutions.jts.geom.Geometry geometry, com.vividsolutions.jts.geom.GeometryFactory gf)
  • Method Details

    • test

      public boolean test(hec.map.WorldLine worldLine)
      Specified by:
      test in interface Predicate<hec.map.WorldLine>