All the area of one layer must be inside other specified layers. You can specify up to 3 layers. Also a space around the inside layer can be checked. An exact, a minimum inside and a maximum inside can be checked.
It is checked, whether two layers have a distance less than a entered value. The value and the two layers are entered in a dialog. The location of the lowest distance will be marked. Alternative it can be checked, if any shape on layer1 has a shape on layer2 next to it which not more than the given distance away. The other way round is not checks. (layer2 has a layer1 next to it)
Two layers with a distance less than a entered value are marked as a violation. If shapes are overlapping, it is not marked as an error. It is adjustable, whether violation away from the overlap (in the example on the left) should be marked as an error.
Checks for a minimum spaceing, if the width of surronding shapes extends a defined value. Please see example in which cases violations are listed.