A line clipping algorithm and its analysis
dc.contributor.author | Krammer, Gergely | en_US |
dc.date.accessioned | 2014-10-21T07:20:09Z | |
dc.date.available | 2014-10-21T07:20:09Z | |
dc.date.issued | 1992 | en_US |
dc.description.abstract | One of the classical problems of Computer Graphics: line clipping against a rectangle is revisited. Coordinate raster refinement and some unusual forms of the parametric equation of the line are used to develop formulae for a line clipping algorithm. The algorithm is first presented in a form, where clarity of presentation is the prime concern. It is then transformed into one big nested branch, which after optimisation is assumed to be the most efficient form with a heavy cost on size. It is assumed that any mathematical consideration of the clipping problem would after a similar optimisation lead to a branching structure of equal complexity and speed. Line clipping thus belongs to the class of problems for which after a proper mathematical and logical analysis automatic program transformations may do the rest.This work has been supported by a grant from the Hungarian Academy of Sciences, Project No. OTKA 2572/1991 | en_US |
dc.description.number | 3 | en_US |
dc.description.seriesinformation | Computer Graphics Forum | en_US |
dc.description.volume | 11 | en_US |
dc.identifier.doi | 10.1111/1467-8659.1130253 | en_US |
dc.identifier.issn | 1467-8659 | en_US |
dc.identifier.pages | 253-266 | en_US |
dc.identifier.uri | https://doi.org/10.1111/1467-8659.1130253 | en_US |
dc.publisher | Blackwell Science Ltd and the Eurographics Association | en_US |
dc.title | A line clipping algorithm and its analysis | en_US |