|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.graph.build.FeatureRelator
A FeatureRelator determines the logical relationship between two features.
A FeatureRelator uses a FeatureComparator
to determine the kind of
relationship present between two Features, and then determines if this
relationship should be represented explicitly in thh graph.
Questions for JG:
A good example relationship is touches, it is bidirectional. It is not reflexive. It is not transitive.
Constructor Summary | |
FeatureRelator(FeatureComparator comparator)
Creates a new FeatureRelator object. |
Method Summary | |
FeatureComparator |
getComparator()
Returns the FeatureComparator used by the relator. |
abstract boolean |
relate(org.geotools.feature.Feature f1,
org.geotools.feature.Feature f2)
Relates two features. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FeatureRelator(FeatureComparator comparator)
comparator
- FeatureComparatorFeatureComparator
Method Detail |
public FeatureComparator getComparator()
FeatureComparator
public abstract boolean relate(org.geotools.feature.Feature f1, org.geotools.feature.Feature f2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |