next up previous contents index
Next: MinSpaceFrom Rule Up: Edge Rules Previous: MinSpace Rule   Contents   Index


MinSpaceTo Rule

Syntax: MinSpaceTo [Region region_expr] expression dimension_in_microns [Diagonal diag_space] [string]

For the parts of each edge of the source that are not coincident or overlapping with source-compatible figures or with target figures which extend into the interior of the source figure, a rectangle extending normally from the edge out of the source figure by the given dimension is constructed. The test fails if the constructed rectangle has nonzero intersection area with target figures. Note that overlap of the two figures is never flagged as a MinSpaceTo error, but touching figures will generate an error. Figure 12.10 illustrates the test performed under this keyword, for no Region and an expression consisting of a single layer.

If the Diagonal clause is given with positive diag_space, then the diag_space value will be used when the edge being tested is nonorthogonal.

The MinSpaceTo test also fails if the distance from a corner of the source figure to a non-touching target figure is less than the dimension. The corner test is skipped if the corner point is on the edge of or internal to another figure compatible with either the source or the expression.

Figure 12.10: The MinSpaceTo test. The minimum edge-to-edge spacing between regions of the present layer (solid) and the argument layer (dotted) must not be less than the given dimension.
\begin{figure}
\vspace{1.5ex}
\begin{center}
\epsfbox{minspaceto.eps}
\end{center}\end{figure}


next up previous contents index
Next: MinSpaceFrom Rule Up: Edge Rules Previous: MinSpace Rule   Contents   Index
Stephen R. Whiteley 2012-04-01