General Polygon Clipper - Features of GPC

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:

    “These, then, will be some of the features of democracy ... it will be, in all likelihood, an agreeable, lawless, particolored commonwealth, dealing with all alike on a footing of equality, whether they be really equal or not.”
    —Plato (c. 427–347 B.C.)

    “Art is the child of Nature; yes,
    Her darling child, in whom we trace
    The features of the mother’s face,
    Her aspect and her attitude.”
    —Henry Wadsworth Longfellow (1807–1882)