Element: layer.thresholds[2]

Type

numeric[2]

Description

The display thresholds for the layer. The layer is only repainted if the window's meter scale is within defined limits.

This element is a 2-element numeric array containing 2 meter scale values, a minimum and a maximum. A meter scale value is the number of real-world meters represented by 1 pixel in the graphic window.

Only if the window's current meter scale (see window.mpp) is within these limits will graphics on the layer be visible. In fact the visibility test is

layer.thresholds[1]   <=   window.mpp   <   layer.thresholds[2]*

* There is an exception to this rule such that if layer.thresholds[2] has a zero value, it is treated as infinity.

The change to the values of this element may force a window repaint if the current window meter scale decrees.

See Also

Commands:

layer

Structures:

layer, layer.label_thresholds,