bg_xor - ObjectVision/GeoDMS GitHub Wiki

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

  1. The composition type of the arguments needs to be polygon.
  2. 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);

see also

⚠️ **GitHub.com Fallback** ⚠️