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.)

    It is a tribute to the peculiar horror of contemporary life that it makes the worst features of earlier times—the stupefaction of the masses, the obsessed and driven lives of the bourgeoisie—seem attractive by comparison.
    Christopher Lasch (b. 1932)