Features of GPC
The following summarises the features and operations on polygons supported by GPC:
- GPC can compute the following clip operations: difference, intersection, exclusive-or and union.
- Polygons may comprise multiple disjoint contours.
- Contour vertices may be specified as clockwise or anticlockwise.
- Contours may be convex, concave or self-intersecting.
- Contours may be nested. In other words, polygons may have holes.
- The clip operation output from GPC is a set of polygon contours or tristrips.
- Holes and external contours are differentiated in GPC's output.
- Coincident edges and degenerate regions are handled correctly.
Read more about this topic: General Polygon Clipper
Famous quotes containing the words features of and/or features:
“Each reader discovers for himself that, with respect to the simpler features of nature, succeeding poets have done little else than copy his similes.”
—Henry David Thoreau (18171862)
“All visible objects, man, are but as pasteboard masks. But in each eventin the living act, the undoubted deedthere, some unknown but still reasoning thing puts forth the mouldings of its features from behind the unreasoning mask. If man will strike, strike through the mask!”
—Herman Melville (18191891)