Class AreaRule

java.lang.Object
noaa.coastwatch.render.feature.AreaRule
All Implemented Interfaces:
SelectionRule

public class AreaRule extends Object implements SelectionRule
  • Constructor Details

    • AreaRule

      public AreaRule(EarthArea area)
      Creates a new area rule.
      Parameters:
      area - the area to use for matching.
  • Method Details

    • matches

      public boolean matches(Feature feature)
      Description copied from interface: SelectionRule
      Determines if a feature matches the rule.
      Specified by:
      matches in interface SelectionRule
      Parameters:
      feature - the feature to check.
      Returns:
      true if the feature matches this rule or false if not.