Loading

mapper.eq.elev


mapper
Since v2.2.0
Available on all platforms
See also

This mapper function returns the first elevation in a sliding window which is equal to a given value.

The associated location and value are those of the selected elevation.

The mapper.eq.elev function must be parameterized with the value against which to test for equality.

Signature

Examples

NEWGTS 10 1 2 3 2.0 ADDVALUE 20 4 5 6 5.0 ADDVALUE 30 7 8 9 1.0 ADDVALUE [ SWAP 9 mapper.eq.elev 0 0 0 ] MAP