|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExternalConstraint
| Method Summary | |
|---|---|
boolean |
addPrunableObjects(GeostObject o,
SimpleHashSet<GeostObject> accumulator)
It adds to the accumulator collection the objects that are likely to be pruned if the given object changes. |
java.util.Collection<? extends InternalConstraint> |
genInternalConstraints(Geost geost)
It generates internal constraints which will be used by Geost's sweeping algorithm. |
java.util.Collection<? extends InternalConstraint> |
getObjectConstraints(GeostObject o)
It provides the collection of internal constraints that the given object has to satisfy. |
GeostObject[] |
getObjectScope()
Provides the collection of objects that this constraint applies to |
boolean |
isInternalConstraintApplicableTo(InternalConstraint ic,
GeostObject o)
Returns true if the external constraint generated the supplied internal constraint ic, and that ic applies to object o. |
void |
onObjectUpdate(GeostObject o)
Handler method called by the Geost kernel when the domain of the object changes. |
| Method Detail |
|---|
java.util.Collection<? extends InternalConstraint> genInternalConstraints(Geost geost)
geost - the geost kernel that will use the generated constraint
java.util.Collection<? extends InternalConstraint> getObjectConstraints(GeostObject o)
o - the geost object that needs to be constrained
boolean addPrunableObjects(GeostObject o,
SimpleHashSet<GeostObject> accumulator)
o - the object that was prunedaccumulator - the set of objects to add the object to
void onObjectUpdate(GeostObject o)
o -
boolean isInternalConstraintApplicableTo(InternalConstraint ic,
GeostObject o)
ic - internal constraint being checkedo - object to which internal constrain should apply to
GeostObject[] getObjectScope()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||