Jump to content

Boolean operations on polygons: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
m authorlinks
No edit summary
Line 49: Line 49:
* [[Computational geometry]]
* [[Computational geometry]]
* [[Constructive solid geometry]]
* [[Constructive solid geometry]]
* [[Geometry processing]]
* [[General Polygon Clipper]], a C library which computes the results of clipping operations
* [[General Polygon Clipper]], a C library which computes the results of clipping operations


Line 73: Line 74:


[[Category:Geometric algorithms]]
[[Category:Geometric algorithms]]
[[Category:Geometry processing]]

Revision as of 03:14, 6 March 2018

Boolean operations on polygons are a set of Boolean operations (AND, OR, NOT, XOR, ...) operating on one or more sets of polygons in computer graphics. These sets of operations are widely used in computer graphics, CAD, and in EDA (in integrated circuit physical design and verification software).

Different boolean operations

Algorithms

Uses in software

Early algorithms for Boolean operations on polygons were based on the use of bitmaps. Using bitmaps in modeling polygon shapes has many drawbacks. One of the drawbacks is that the memory usage can be very large, since the resolution of polygons is proportional to the number of bits used to represent polygons. The higher the resolution is desired, the more the number of bits is required.

Modern implementations for Boolean operations on polygons tend to use plane sweep algorithms (or Sweep line algorithms). A list of papers using plane sweep algorithms for Boolean operations on polygons can be found in References below.

Boolean operations on convex polygons and monotone polygons of the same direction may be performed in linear time.[1]

See also

Notes

  1. ^ Katz, Matthew J.; Overmars, Mark H.; Sharir, Micha (1992), "Efficient hidden surface removal for objects with small union size", Computational Geometry: Theory and Applications, 2 (4): 223–234, doi:10.1016/0925-7721(92)90024-M.

Bibliography

See also

Software