bg_xor
Geometric functions bg_xor
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 element-by-element XOR of the 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 or be Void.
since version
15.4.0
example
parameter<fpoint> Xor (poly) := bg_xor(Land/geometry, LandWithTexel/geometry);