Advanced pre-search relations constraint types
You can set the following types of constraint:- Rectangle, region, or array of rectangles – Limit the search area to a rectangle (
Rectvariable), to a region (that is, a continuous array of rectangles,Regionvariable), or to an array of rectangles that need not be continuous in the general case (RectArrayvariable). Set this constraint with theRestrictSearchAreafunction and a parameter of the corresponding type. Any expression that returns a value of the required type can be used as a parameter. - Half-plane – Limit the search area to a half-plane located to the left of, to the right of, above, or below a particular point. Set these constraints with the
Leftof,Rightof,Above, andBelowfunctions. - Element boundary – Constrain an individual boundary of an element, which narrows the range of possible hypotheses at the stage of calculating the search area. Set these constraints with the
LeftBound,RightBound,topBound, andBottomBoundfunctions and the>and<operators. - Exclusion – Exclude a rectangle, an array of rectangles, a hypothesis, and so on from the search area. Set these constraints with the
Exclude,ExcludeRect, andExcludeSetfunctions.
LeftBound and RightBound functions access the left and right boundaries of the search area, and the topBound and BottomBound functions access the top and bottom boundaries respectively.
