Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
M
N
O
P
R
S
T
V
W
_
A
addConstraint(RelationConstraint)
- Method in class diva.sketch.parser2d.
AndConstraint
Add another child constraint to the test.
addConstraint(RelationConstraint)
- Method in class diva.sketch.parser2d.
OrConstraint
Add another child constraint to the test.
ADJACENT
- Static variable in class diva.sketch.parser2d.
RelationUtilities
Positional constraint: is B adjacent to A?
AndConstraint
- class diva.sketch.parser2d.
AndConstraint
.
A composite constraint that
ANDs
together the results of its child constraint objects.
AndConstraint()
- Constructor for class diva.sketch.parser2d.
AndConstraint
ANGLE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies an angle constraint element.
AngleRelation
- class diva.sketch.parser2d.
AngleRelation
.
Calculate the direction angle (between 0 and 2*PI) between user-specified sites on a pair of rectangles.
AngleRelation(int)
- Constructor for class diva.sketch.parser2d.
AngleRelation
Use the center sites to calculate the relation, by default.
AngleRelation(int, int, int)
- Constructor for class diva.sketch.parser2d.
AngleRelation
The sites of interest on the first and second rectangles, respectively.
apply(Rectangle2D, Rectangle2D)
- Method in interface diva.sketch.parser2d.
Relation
Return the value of the relation extracted from the given rectangles.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
DirectedRelation
Apply the directed relation.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
AngleRelation
Return the angle between the constructor-specified sites on r1 and r2, respectively.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
WidthRatioRelation
Calculate the height ratio using the constructor-specified whichNumerator.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
OverlapRelation
Return the percentage of area of whichever rectangle was specified in the constructor that overlaps with the other rectangle.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
HeightRatioRelation
Calculate the height ratio using the constructor-specified whichNumerator.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
DistanceRelation
Return the distance between the constructor-specified sites on r1 and r2, respectively.
apply(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
AreaRatioRelation
Calculate the ratio of areas with the constructor-specified rectangle as the numerator for the calculation.
AREA_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies an area ratio constraint element.
AreaRatioRelation
- class diva.sketch.parser2d.
AreaRatioRelation
.
Calculate the ratio of areas of the input rectangles.
AreaRatioRelation(int)
- Constructor for class diva.sketch.parser2d.
AreaRatioRelation
Calculate the ratio of areas with the given rectangle (FIRST_RECT or SECOND_RECT from DirectedRelation) as the numerator for the calculation.
attribute(String, String, boolean)
- Method in class diva.sketch.parser2d.
Grammar2dParser
Handle an attribute value assignment.
B
BasicConstraint
- class diva.sketch.parser2d.
BasicConstraint
.
An object that returns whether a pair of rectangles satisfies constraints on the values of a specified relation.
BasicConstraint(Relation, double, double)
- Constructor for class diva.sketch.parser2d.
BasicConstraint
Create the constraints object with the given relations and given min/max constraints.
BasicRule
- class diva.sketch.parser2d.
BasicRule
.
Basic rule is the implementation of the rule interface that is filled in declaratively by a user-defined grammar.
BasicRule(String, String, String, String[], String[], RelationConstraint[])
- Constructor for class diva.sketch.parser2d.
BasicRule
Construct a new basic rule with the given LHS and RHS structure.
C
CENTER
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The center direction constant.
checkSite(int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Check the given site's validity; throw an illegal argument exception if it is not valid.
children()
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return an iterator of the child constituents.
clearCachedBounds()
- Method in class diva.sketch.parser2d.
CompositeConstituent
Clear the cached bounds (in case the child constituents have changed some way.
clearMemoization()
- Method in class diva.sketch.parser2d.
Parser2D
Clear the cached (memoized) results.
completeParses(List)
- Static method in class diva.sketch.parser2d.
Parser2D
Return the subset of this list of parses that are complete parses (i.e.
CompositeConstituent
- class diva.sketch.parser2d.
CompositeConstituent
.
A default implementation for a non-terminal constituent.
CompositeConstituent(String, Constituent[], String[])
- Constructor for class diva.sketch.parser2d.
CompositeConstituent
Construct a composite constituent with the given type and children.
Constituent
- interface diva.sketch.parser2d.
Constituent
.
Constituent is a term borrowed from linguistics that refers to a natural grouping of language elements.
ConstituentSet
- class diva.sketch.parser2d.
ConstituentSet
.
A set of constituents that supports 2D geometric queries.
ConstituentSet(Constituent[])
- Constructor for class diva.sketch.parser2d.
ConstituentSet
Construct a set of the given constituents.
constituentsOfType(String)
- Method in class diva.sketch.parser2d.
ConstituentSet
Return an iterator over the constituents contained by this set that are of the given type.
CONSTRAINT_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the constraint attribute of an overlap constraint element.
CONTAINS
- Static variable in class diva.sketch.parser2d.
RelationUtilities
Positional constraint: does A contain B?
D
debug(String)
- Static method in class diva.sketch.parser2d.
AngleRelation
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
ConstituentSet
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
AndConstraint
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
BasicRule
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
Parser2D
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
BasicConstraint
Debugging output.
debug(String)
- Static method in class diva.sketch.parser2d.
DistanceRelation
Debugging output.
DEFAULT_ANGLE_TOLERANCE
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
FIXME ??? this parser is smart
DirectedRelation
- class diva.sketch.parser2d.
DirectedRelation
.
A directed relation is a relation where the value being calculated is relative to one of the rectangles in particular.
DirectedRelation(int)
- Constructor for class diva.sketch.parser2d.
DirectedRelation
Construct the relation query whose ratio is determined by the "which" argument as either the FIRST_RECT or SECOND_RECT.
DIRECTION_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the direction attribute of an angle constraint element.
directionToAngle(int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return the angle in radians corresponding to the given direction constant (EAST is 0 radians).
DISTANCE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies a distance constraint element.
DistanceRelation
- class diva.sketch.parser2d.
DistanceRelation
.
Calculate the euclidean distance between given sites on pairs of input rectangles.
DistanceRelation()
- Constructor for class diva.sketch.parser2d.
DistanceRelation
Calculate the euclidean distance between the CENTER sites on two input rectangles.
DistanceRelation(int, int)
- Constructor for class diva.sketch.parser2d.
DistanceRelation
Calculate the euclidean distance between the given sites on two input rectangles.
diva.sketch.parser2d
- package diva.sketch.parser2d
This package provides basic 2D parsing based on graph grammars.
E
EAST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The east direction constant.
endElement(String)
- Method in class diva.sketch.parser2d.
Grammar2dParser
Handle the end of an element.
equals(Object)
- Method in class diva.sketch.parser2d.
ConstituentSet
A customized equals implementation to enable parser memoization.
equals(Object)
- Method in class diva.sketch.parser2d.
CompositeConstituent
A customized equals implementation to enable parser memoization.
equals(Object)
- Method in class diva.sketch.parser2d.
TerminalConstituent
A customized equals implementation to enable parser memoization.
error(String)
- Method in class diva.sketch.parser2d.
Grammar2dParser
Handle a parsing error by throwing an exception with the given error message prepended with the line number and column number.
F
findRelatives(Constituent, String, RelationConstraint)
- Method in class diva.sketch.parser2d.
ConstituentSet
Return the set of constituents of the given type, related to the the given constituent by the given relation.
FIRST_RECT
- Static variable in class diva.sketch.parser2d.
DirectedRelation
Specify the first rectangle of the relational query.
G
getBounds()
- Method in interface diva.sketch.parser2d.
Constituent
Return the 2D bounding box of the constituent.
getBounds()
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return the 2D bounding box of the constituent.
getBounds()
- Method in class diva.sketch.parser2d.
TerminalConstituent
Return the 2D bounding box of the constituent.
getChild(String)
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return the child with the given name; throw an IllegalArgument exception if the argument is not a child of this composite.
getName()
- Method in interface diva.sketch.parser2d.
Relation
Return the name of the relation extractor.
getName()
- Method in class diva.sketch.parser2d.
DirectedRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
AngleRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
WidthRatioRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
OverlapRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
HeightRatioRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
DistanceRelation
The name of this relation.
getName()
- Method in class diva.sketch.parser2d.
AreaRatioRelation
The name of this relation.
getName(Constituent)
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return the name of the given child; throw an IllegalArgument exception if the argument is not a child of this composite.
getRules()
- Method in class diva.sketch.parser2d.
Grammar2dParser
Return the resulting set of rules from the previous parse.
getRuleType()
- Method in interface diva.sketch.parser2d.
Rule
Return the LHS type of the rule.
getRuleType()
- Method in class diva.sketch.parser2d.
BasicRule
Return the type of the LHS.
getSite1()
- Method in class diva.sketch.parser2d.
AngleRelation
Get the site for the first rectangle.
getSite1()
- Method in class diva.sketch.parser2d.
DistanceRelation
Get the site for the first rectangle.
getSite2()
- Method in class diva.sketch.parser2d.
AngleRelation
Get the site for the second rectangle.
getSite2()
- Method in class diva.sketch.parser2d.
DistanceRelation
Get the site for the second rectangle.
getType()
- Method in interface diva.sketch.parser2d.
Constituent
Return the type of the constituent (its LHS)
getType()
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return the type of the constituent (its LHS)
getType()
- Method in class diva.sketch.parser2d.
TerminalConstituent
Return the type of the constituent (its LHS)
getWhich()
- Method in class diva.sketch.parser2d.
DirectedRelation
Return which rectangle the calculation is relative to.
GRAMMAR_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies a grammar element.
Grammar2dParser
- class diva.sketch.parser2d.
Grammar2dParser
.
Reads in an XML file and parses it into an array of rules that make up a grammar.
Grammar2dParser()
- Constructor for class diva.sketch.parser2d.
Grammar2dParser
Grammar2dWriter
- class diva.sketch.parser2d.
Grammar2dWriter
.
Write out a set of rules into an XML file.
Grammar2dWriter()
- Constructor for class diva.sketch.parser2d.
Grammar2dWriter
H
hashCode()
- Method in class diva.sketch.parser2d.
ConstituentSet
A customized hash code implementation to enable parser memoization.
hashCode()
- Method in class diva.sketch.parser2d.
CompositeConstituent
A customized hash code implementation to enable parser memoization.
hashCode()
- Method in class diva.sketch.parser2d.
TerminalConstituent
A customized hash code implementation to enable parser memoization.
HEIGHT_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies an height ratio constraint element.
HeightRatioRelation
- class diva.sketch.parser2d.
HeightRatioRelation
.
Calculate the ratio of heights of the input rectangles with the specified "whichNumerator" constructor argument as the numerator of the ratio.
HeightRatioRelation(int)
- Constructor for class diva.sketch.parser2d.
HeightRatioRelation
Use the specified "whichNumerator" (DirectedRelation.FIRST_RECT or DirectedRelation.SECOND_RECT) as the numerator of the ratio calculation.
I
INTERSECTS
- Static variable in class diva.sketch.parser2d.
RelationUtilities
Positional constraint: does A intersect B?
isComplete(ConstituentSet)
- Static method in class diva.sketch.parser2d.
Parser2D
Return whether or not this parse is complete (has no loose ends).
iterator()
- Method in class diva.sketch.parser2d.
ConstituentSet
Return an iterator over this set's contents.
M
main(String[])
- Static method in class diva.sketch.parser2d.
Grammar2dParser
Test this puppy out!
matchRule(ConstituentSet)
- Method in interface diva.sketch.parser2d.
Rule
Return an iterator over the possible matches of this rule to the given constituent set.
matchRule(ConstituentSet)
- Method in class diva.sketch.parser2d.
BasicRule
Return an iterator over the possible applications of this rule to the given constituent set.
MAX_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the max attribute of a constraint element.
MIN_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the min attribute of a constraint element.
N
NAME_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the name attribute of a root or a relative.
NO_MAX_CONSTRAINT
- Static variable in class diva.sketch.parser2d.
BasicConstraint
Use this constant to specify no maximum constraint for a particular relation.
NO_MIN_CONSTRAINT
- Static variable in class diva.sketch.parser2d.
BasicConstraint
Use this to constant specify no minimum constraint for a particular relation.
NO_SIZE_RATIO
- Static variable in class diva.sketch.parser2d.
RelationUtilities
No size constant.
NORTH
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The north direction constant.
NORTH_EAST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The north-east direction constant.
NORTH_WEST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The north-west direction constant.
O
OrConstraint
- class diva.sketch.parser2d.
OrConstraint
.
A composite constraint that
ORs
together the results of its child constraint objects.
OrConstraint()
- Constructor for class diva.sketch.parser2d.
OrConstraint
OVERLAP_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies an overlap constraint element.
OverlapRelation
- class diva.sketch.parser2d.
OverlapRelation
.
Calculate the percentage of one of the rectangles that overlaps the other.
OverlapRelation(int)
- Constructor for class diva.sketch.parser2d.
OverlapRelation
Specify which percentage to calculate, using either the DirectedRelation.FIRST_RECT or DirectedRelation.SECOND_RECT constants.
P
parse(ConstituentSet)
- Method in class diva.sketch.parser2d.
Parser2D
Parse the given constituent set (initially terminals) into a coherent parse tree.
parse(String)
- Method in class diva.sketch.parser2d.
Grammar2dParser
Create the full path string for the url and parses the file into a Document object.
parseDirection(String)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return a direction constant given a string.
parseMinMax(String)
- Static method in class diva.sketch.parser2d.
BasicConstraint
Parse a number string, NO_MIN, or NO_MAX into the corresponding range boundary.
parseNoMemoize(ConstituentSet)
- Method in class diva.sketch.parser2d.
Parser2D
Parse the given constituent set (initially terminals) into a coherent parse tree.
parseOverlap(String)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return a position constant given a string.
Parser2D
- class diva.sketch.parser2d.
Parser2D
.
A simple CFG parser for graph grammars.
Parser2D(Rule[])
- Constructor for class diva.sketch.parser2d.
Parser2D
Construct a new parser with the specified grammar rules.
Parser2D(String)
- Constructor for class diva.sketch.parser2d.
Parser2D
Construct a new parser with the grammar rules specified in the file at the given URL (can be a relative file too).
parseWhich(String)
- Static method in class diva.sketch.parser2d.
DirectedRelation
Parse the string constants FIRST_RECT or SECOND_RECT to their integer constant equivalents.
printDirection(int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return a string given a direction constant.
printMinMax(double)
- Static method in class diva.sketch.parser2d.
BasicConstraint
Parse a number string, NO_MIN, or NO_MAX into the corresponding range boundary.
printOverlap(int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return a string given a position constant.
printWhich(int)
- Static method in class diva.sketch.parser2d.
DirectedRelation
Convert the integer constant FIRST_RECT or SECOND_RECT to a string for printing.
R
reduce(Constituent, Constituent[])
- Method in class diva.sketch.parser2d.
ConstituentSet
Return a new constituent set that has been reduced by the given "production".
Relation
- interface diva.sketch.parser2d.
Relation
.
An object that specifies a directed spatial relationship between two rectangles.
RelationConstraint
- interface diva.sketch.parser2d.
RelationConstraint
.
An object that returns whether a pair of rectangles satisfies constraints on the values of a specified relation.
RelationUtilities
- class diva.sketch.parser2d.
RelationUtilities
.
A set of static utilties for dealing with relationships between rectangles, specifying important sites on rectangles, or angular directions.
RELATIVE_SITE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the relativeSite attribute of a distance or angle constraint element.
RELATIVE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies a relative element.
removeDuplicates(List)
- Static method in class diva.sketch.parser2d.
Parser2D
Return the given list without duplicates.
resetConstraintState()
- Method in class diva.sketch.parser2d.
Grammar2dParser
Reset the parsing state from the previous constraint that was parsed.
resetParseState()
- Method in class diva.sketch.parser2d.
Grammar2dParser
Reset the parsing state from the previous rule that was parsed.
resetRelativeState()
- Method in class diva.sketch.parser2d.
Grammar2dParser
Reset the parsing state from the previous rule that was parsed.
resetRuleState()
- Method in class diva.sketch.parser2d.
Grammar2dParser
Reset the parsing state from the previous rule that was parsed.
ROOT_SITE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the rootSite attribute of a distance or angle constraint element.
ROOT_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies a root element.
Rule
- interface diva.sketch.parser2d.
Rule
.
A tree-structured grammar rule of the form: LHS => RHS Where LHS is a constituent string (non-terminal) and RHS is a programmatic pattern matching function that does some kind of graph or tree matching on the input constituent set.
RULE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies a rule element.
S
SECOND_RECT
- Static variable in class diva.sketch.parser2d.
DirectedRelation
Specify the second rectangle of the relational query.
setSite1(int)
- Method in class diva.sketch.parser2d.
AngleRelation
Set the site for the first rectangle.
setSite1(int)
- Method in class diva.sketch.parser2d.
DistanceRelation
Set the site for the first rectangle.
setSite2(int)
- Method in class diva.sketch.parser2d.
AngleRelation
Set the site for the second rectangle.
setSite2(int)
- Method in class diva.sketch.parser2d.
DistanceRelation
Set the site for the second rectangle.
setWhich(int)
- Method in class diva.sketch.parser2d.
DirectedRelation
Set which rectangle the calculation is relative to.
siteX(Rectangle2D, int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return the X coordinate of the given site for the given rectangle.
siteY(Rectangle2D, int)
- Static method in class diva.sketch.parser2d.
RelationUtilities
Return the Y coordinate of the given site for the given rectangle.
size()
- Method in class diva.sketch.parser2d.
ConstituentSet
Return the number of constituents this set contains.
SOUTH
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The south direction constant.
SOUTH_EAST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The south-east direction constant.
SOUTH_WEST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The south-west direction constant.
startElement(String)
- Method in class diva.sketch.parser2d.
Grammar2dParser
Handle the start of an element.
T
TerminalConstituent
- class diva.sketch.parser2d.
TerminalConstituent
.
A default implementation for a terminal constituent.
TerminalConstituent(String, Rectangle2D)
- Constructor for class diva.sketch.parser2d.
TerminalConstituent
Construct a termina constituent with the given type and bounds.
test(Rectangle2D, Rectangle2D)
- Method in interface diva.sketch.parser2d.
RelationConstraint
Test the constraint on the given rectangles; return true if the constraint is met, false otherwise.
test(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
AndConstraint
Test the child constraints on the given rectangles; return true if all of them are met or there are no child constraints, false otherwise.
test(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
OrConstraint
Test the child constraints on the given rectangles; return true if any constraints are met or there are no constraints, false otherwise.
test(Rectangle2D, Rectangle2D)
- Method in class diva.sketch.parser2d.
BasicConstraint
Test the constraints on the given rectangles; return true if all constraints are met, false otherwise.
TITLE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the title attribute of a grammar.
toString()
- Method in class diva.sketch.parser2d.
AngleRelation
Print out the contents of this relation.
toString()
- Method in class diva.sketch.parser2d.
ConstituentSet
Return a string representation of this set for printing.
toString()
- Method in class diva.sketch.parser2d.
AndConstraint
Print out the contents of this constraint.
toString()
- Method in class diva.sketch.parser2d.
WidthRatioRelation
Print out the contents of this relation.
toString()
- Method in class diva.sketch.parser2d.
OverlapRelation
Print out the contents of this relation.
toString()
- Method in class diva.sketch.parser2d.
CompositeConstituent
Return a string with the type.
toString()
- Method in class diva.sketch.parser2d.
BasicRule
Print out the contents of this rule.
toString()
- Method in class diva.sketch.parser2d.
HeightRatioRelation
Print out the contents of this relation.
toString()
- Method in class diva.sketch.parser2d.
TerminalConstituent
Return a string with the type.
toString()
- Method in class diva.sketch.parser2d.
OrConstraint
Print out the contents of this constraint.
toString()
- Method in class diva.sketch.parser2d.
BasicConstraint
Print out the contents of this constraint.
toString()
- Method in class diva.sketch.parser2d.
DistanceRelation
Print out the contents of this relation.
toString()
- Method in class diva.sketch.parser2d.
AreaRatioRelation
Print out the contents of this relation.
TYPE_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the type attribute of a rule, a root, or a relative.
V
VERSION_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the version attribute of a grammar.
W
WEST
- Static variable in class diva.sketch.parser2d.
RelationUtilities
The west direction constant.
WHICH_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies the "which" attribute of an overlap constraint element.
WIDTH_TAG
- Static variable in class diva.sketch.parser2d.
Grammar2dParser
The string constant that specifies an width ratio constraint element.
WidthRatioRelation
- class diva.sketch.parser2d.
WidthRatioRelation
.
Calculate the ratio of widths of the input rectangles with the specified "whichNumerator" constructor argument as the numerator of the ratio.
WidthRatioRelation(int)
- Constructor for class diva.sketch.parser2d.
WidthRatioRelation
Use the specified "whichNumerator" (DirectedRelation.FIRST_RECT or DirectedRelation.SECOND_RECT) as the numerator of the ratio calculation.
write(BasicRule[], String)
- Method in class diva.sketch.parser2d.
Grammar2dWriter
Write the given grammar out to the given url.
_
_bounds
- Variable in class diva.sketch.parser2d.
CompositeConstituent
Cache the bounds.
_bounds
- Variable in class diva.sketch.parser2d.
TerminalConstituent
Store the bounds.
_childNames
- Variable in class diva.sketch.parser2d.
CompositeConstituent
The names of the children of this constituent.
_children
- Variable in class diva.sketch.parser2d.
ConstituentSet
The constituents that this set contains.
_children
- Variable in class diva.sketch.parser2d.
CompositeConstituent
The children of this constituent.
_type
- Variable in class diva.sketch.parser2d.
CompositeConstituent
The type (LHS) of this constituent.
_type
- Variable in class diva.sketch.parser2d.
TerminalConstituent
The type (LHS) of this constituent.
A
B
C
D
E
F
G
H
I
M
N
O
P
R
S
T
V
W
_
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES