public class OrConstraint extends Object implements RelationConstraint
| Constructor and Description |
|---|
OrConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(RelationConstraint r)
Add another child constraint to the test.
|
boolean |
test(SceneElement e1,
SceneElement e2)
Test the child constraints on the given rectangles; return true
if any constraints are met or there are no constraints, false
otherwise.
|
String |
toString()
Print out the contents of this constraint.
|
public boolean test(SceneElement e1, SceneElement e2)
test in interface RelationConstraintpublic void addConstraint(RelationConstraint r)
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.