An Analysis and Algorithm for Polygon Clipping

78Citations
Citations of this article
32Readers
Mendeley users who have this article in their library.

Abstract

The process of polygon clipping is analyzed and the understanding gained thereby forms the foundation of a very direct algorithm. Each edge of the input polygon is considered to be a vector and is then extended to be a line of infinite extent. The boundary line segments of the clip window are extended in a similar fashion to become boundary lines. The intersection points of an extended edge with the beundary lines are identified as entry or exit points. It is observed that these entry and exit points can be used to characterize the visibility status of the edge. Not only might the edge have a visible segment, but it can also induce the inclusion in the output polygon of a vertex at a corner of the clip window called a turning vertex. To quantify the visibility conditions, the edge/s written in parametric form. The possible contributions (including nil) that can be provided to the output polygon by a particular edge are established. This analysis is then embedded in an algorithm. An arbitrary example input polygon is given and the output of the algorithm is shown. The execution time for this example using this algorithm is measured to be half of what is required by the standard Sutherland-Hedgman reentrunt polygon clipping algorithm. © 1983, ACM. All rights reserved.

Author supplied keywords

Cite

CITATION STYLE

APA

Liang, Y. D., & Barsky, B. A. (1983). An Analysis and Algorithm for Polygon Clipping. Communications of the ACM, 26(11), 868–877. https://doi.org/10.1145/182.358439

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free