public class AreaRule extends java.lang.Object implements SelectionRule
Constructor and Description |
---|
AreaRule(EarthArea area)
Creates a new area rule.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Feature feature)
Determines if a feature matches the rule.
|
public AreaRule(EarthArea area)
area
- the area to use for matching.public boolean matches(Feature feature)
SelectionRule
matches
in interface SelectionRule
feature
- the feature to check.