Package diva.sketch.parser2d

Interface Summary
Relation An object that specifies a directed spatial relationship between two scene elements.
RelationConstraint An object that returns whether a pair of elements satisfies constraints on the values of a specified relation.
Rule A parse rule interface that matches the RHS of a production and generates the LHS.
 

Class Summary
AbstractRule A parse rule implementation that matches the RHS of a production and generates the LHS.
AndConstraint A composite constraint that ANDs together the results of its child constraint objects.
AngleRelation Calculate the direction angle (between 0 and 2*PI) between user-specified sites on a pair of rectangles.
AreaRatioRelation Calculate the ratio of areas of the input scene elements.
BasicConstraint An object that returns whether a pair of rectangles satisfies constraints on the values of a specified relation.
DeltaXRelation Calculate the euclidean distance between given sites on pairs of input rectangles.
DeltaYRelation Calculate the euclidean distance between given sites on pairs of input rectangles.
DistanceRelation Calculate the euclidean distance between given sites on pairs of input rectangles.
Grammar2D A grammar is a collection of rules that implement productions and a collection of tokens that are expected from the low-level recognizer in order for these rules to make sense.
HeightRatioRelation Calculate the ratio of the height of the first input scene element to the height of the second.
NativeResults A class that encapsulates the parse results of a native rule so that native rules do not have to deal with the implementation details of the parser.
OrConstraint A composite constraint that ORs together the results of its child constraint objects.
OverlapRelation Calculate the percentage of one of the rectangles that overlaps the other.
ParsingSceneRecognizer A grammar-driven scene recognizer that incrementally parses the scene as new tokens are added.
RelationUtilities A set of static utilties for dealing with relationships between rectangles, specifying important sites on rectangles, or angular directions.
SingleRule A parse rule implementation that matches the RHS of a production and generates the LHS.
WidthRatioRelation Calculate the ratio of the width of the first input scene element to the width of the second.
 



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