Interface NFELineLineRuleHandlerParam
-
- All Known Implementing Classes:
NFEBasicLineLineRuleHandlerParam
public interface NFELineLineRuleHandlerParam
Line-line rule handler parameter. Contains information regarding the triggered rule, the intersection that triggered the rule and which elements of the intersection currently match the rule's conditions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Intersection<NFEFeatureElement>
getIntersection()
Gets the intersection that is currently being processed.IntersectionMember<NFEFeatureElement>
getIntersectionMember(NFEFeatureElement featElem)
Gets the feature element as an intersection member of the current intersection.java.util.Collection<NFEFeatureElement>
getMatchingPointFeatureElements()
Gets all the point feature elements from the current intersection that matches the point operand of the current line-point ruleNFELineLineRule
getRule()
The line-point rule that has been triggeredjava.util.Collection<NFEFeatureElement>
getRuleLeftHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the left hand side line operand of the current line-line rulejava.util.Collection<NFEFeatureElement>
getRuleRightHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the right hand side line operand of the current line-line rule
-
-
-
Method Detail
-
getRule
NFELineLineRule getRule()
The line-point rule that has been triggered- Returns:
- a line-point rule
-
getIntersection
Intersection<NFEFeatureElement> getIntersection()
Gets the intersection that is currently being processed. It contains all the intersecting feature elements.- Returns:
- an intersection object
-
getIntersectionMember
IntersectionMember<NFEFeatureElement> getIntersectionMember(NFEFeatureElement featElem)
Gets the feature element as an intersection member of the current intersection. The intersection member object describes how the feature element is intersected in the current intersection group.- Parameters:
featElem
- a feature element- Returns:
- the feature element as an intersection member or null if the feature element does not participates in the current intersection
-
getRuleLeftHandMatchingLineFeatureElements
java.util.Collection<NFEFeatureElement> getRuleLeftHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the left hand side line operand of the current line-line rule- Returns:
- a collection of line feature elements
-
getRuleRightHandMatchingLineFeatureElements
java.util.Collection<NFEFeatureElement> getRuleRightHandMatchingLineFeatureElements()
Gets all the line feature elements from the current intersection that matches the right hand side line operand of the current line-line rule- Returns:
- a collection of line feature elements
-
getMatchingPointFeatureElements
java.util.Collection<NFEFeatureElement> getMatchingPointFeatureElements()
Gets all the point feature elements from the current intersection that matches the point operand of the current line-point rule- Returns:
- a collection of point feature elements.
-
-