diva.sketch.parser2d
Interface RelationConstraint

All Known Implementing Classes:
AndConstraint, BasicConstraint, OrConstraint

public interface RelationConstraint

An object that returns whether a pair of elements satisfies constraints on the values of a specified relation.

Version:
$Revision: 1.4 $
Author:
Michael Shilman (michaels@eecs.berkeley.edu)

Method Summary
 boolean test(SceneElement e1, SceneElement e2)
          Test the constraint on the given elements; return true if the constraint is met, false otherwise.
 

Method Detail

test

boolean test(SceneElement e1,
             SceneElement e2)
Test the constraint on the given elements; return true if the constraint is met, false otherwise.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.