bg_xor
geometric-functions bg_xor (union)
syntax
- bg_xor (polygon_data_itemA, polygon_data_itemB)
description
bg_xor (polygon_data_itemA, polygon_data_itemB) results in a new multi polygon data-item with the XOR of the two element by element polygon_data_itemA and polygon_data_itemB data items. XOR results in true if one of the items is true, but in false if both items are true.
conditions
- The composition type of the arguments needs to be polygon.
- The domain-unit of the arguments must match of be void.
since version
15.4.0
example
parameter<fpoint> Xor (poly) := bg_xor(Land/geometry, LandWithTexel/geometry);