Introduction
Bool.dll is a library that performs two dimensional polygon booleans - it supports the basic operations needed when processing polygons for mask making and field analysis. These boolean operations include:
- union - combining touching or overlapping polygons into a single polygon
- difference - subtracting one polygon (or set) from another
- intersection - finding the intersection between two polygons (or sets)
- XOR - NOT the intersection of two sets.
- sizing - increasing or decreasing the size of a polygon by a specified amount
- de-embedding - sorting a collection of polygons into parent and children (for purposes of polarity calculations)
The calling program sends bool.dll a list of polygons, specifies the operation and parameters and uses a callback function to get the new set of processed polygons.
|