Package cz.vutbr.fit.layout.rdf.fn
Class SpatialFunction
- java.lang.Object
-
- cz.vutbr.fit.layout.rdf.fn.SpatialFunction
-
- Direct Known Subclasses:
RectComparisonFunction
public abstract class SpatialFunction extends Object
A base for all spatial functions.- Author:
- burgetr
-
-
Constructor Summary
Constructors Constructor Description SpatialFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.rdf4j.model.ResourcegetBoundsResource(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Value arg)Finds the bounds resource: either the b:bounds property is set for the object or we use the object itself.protected IntegergetIntValue(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI property)protected RectangulargetRectangularValue(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Resource subj)
-
-
-
Method Detail
-
getBoundsResource
protected org.eclipse.rdf4j.model.Resource getBoundsResource(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Value arg) throws org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationExceptionFinds the bounds resource: either the b:bounds property is set for the object or we use the object itself.- Parameters:
tripleSource-arg-- Returns:
- Throws:
org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationException
-
getRectangularValue
protected Rectangular getRectangularValue(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Resource subj)
-
getIntValue
protected Integer getIntValue(org.eclipse.rdf4j.query.algebra.evaluation.TripleSource tripleSource, org.eclipse.rdf4j.model.Resource subj, org.eclipse.rdf4j.model.IRI property)
-
-