Package cz.vutbr.fit.layout.rdf.fn
Class AfterFunction
- java.lang.Object
-
- cz.vutbr.fit.layout.rdf.fn.SpatialFunction
-
- cz.vutbr.fit.layout.rdf.fn.RectComparisonFunction
-
- cz.vutbr.fit.layout.rdf.fn.AfterFunction
-
- All Implemented Interfaces:
org.eclipse.rdf4j.query.algebra.evaluation.function.Function
public class AfterFunction extends RectComparisonFunction
This function decides whether a rectangle rect1 is after another rectangle rect2 roughly at the same line. Both rectangles must have either theb:boundsproperty set to a b:Bounds object or they must be the b:Bounds object directly. Returns a boolean literal.- Author:
- burgetr
-
-
Field Summary
Fields Modifier and Type Field Description static Stringfnamestatic intMIN_Y_INTERSECTION
-
Constructor Summary
Constructors Constructor Description AfterFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanevaluateForBoxes(Rectangular b1, Rectangular b2)Compares the two boxes and returns a boolean result.-
Methods inherited from class cz.vutbr.fit.layout.rdf.fn.RectComparisonFunction
evaluate, evaluate, getURI
-
Methods inherited from class cz.vutbr.fit.layout.rdf.fn.SpatialFunction
getBoundsResource, getIntValue, getRectangularValue
-
-
-
-
Field Detail
-
MIN_Y_INTERSECTION
public static final int MIN_Y_INTERSECTION
- See Also:
- Constant Field Values
-
fname
public static final String fname
- See Also:
- Constant Field Values
-
-
Method Detail
-
evaluateForBoxes
protected boolean evaluateForBoxes(Rectangular b1, Rectangular b2)
Description copied from class:RectComparisonFunctionCompares the two boxes and returns a boolean result.- Specified by:
evaluateForBoxesin classRectComparisonFunction- Returns:
-
-