Package noaa.coastwatch.render.feature
Class AreaRule
java.lang.Object
noaa.coastwatch.render.feature.AreaRule
- All Implemented Interfaces:
SelectionRule
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AreaRule
Creates a new area rule.- Parameters:
area
- the area to use for matching.
-
-
Method Details
-
matches
Description copied from interface:SelectionRule
Determines if a feature matches the rule.- Specified by:
matches
in interfaceSelectionRule
- Parameters:
feature
- the feature to check.- Returns:
- true if the feature matches this rule or false if not.
-