← Back to Patent Explorer
US5418897A Expired / Lapsed US ⏱️ 0.0 years remaining

Method for elimination of extraneous lines generated by rectangular polygon clipping process

Assignee: Hewlett Packard Development Co LP
•
Filing: 1993-09-30
•
Granted: 1995-05-23
•
Expires: 2013-09-30
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The present invention receives the output of a polygon clipper process and determines which lines are extraneous. This determination is accomplished by keeping a list of all potential extraneous lines. When a new line is generated, it is compared to all lines in the list. If the new line overlaps any of the lines in the list, both lines are shortened to remove the overlap. After the new line has been checked and any necessary modifications made, any lines remaining are placed into the list to be compared to future lines. After the polygon clipper and extraneous line eliminator have completed processing the polygon, the output of the clipper and the list are combined to complete the description of the clipped polygon.

Inventors

  • 👤 Sandra Capri
  • 👤 Steven P. Ritacco

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-09 22:15
CPC Classifications
G; G06; G06T; G06T11/00

Claims Analysis

Total Claims: 13
Claim 1
Independent Claim 309 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said method performed by a computer means, said computer means maintaining a list, where said list contains potential edges of said polygon, said method comprising the steps of: determining if said polygon clipping means generated a new line; if said step of determining determines that said polygon clipping means did generate said new line then extracting a potential edge from said list; first comparing said new line with said potential edge, if said step of first comparing determines said new line spatially starts before said previous edge then generating a first intermediate line which starts where said new line starts and ends where said previous edge starts, where said step of first comparing determines said new line starts after said previous edge, said step of generating generates said first intermediate line which starts where said previous edge starts and ends where said new line starts; second comparing said new line with said potential edge, if said step of second comparing determines said new line spatially ends after said previous edge then said step of generating generates a second intermediate line which starts where said previous edge ends and ends where said new line ends, where said step of second comparing determines said new line ends before said previous edge, said step of generating generates said second intermediate line which starts where said new line ends and ends where said previous edge ends; and storing said first intermediate line if so generated and said second intermediate line if so generated in said list and deleting said previous edge from said list, if neither said first intermediate line or said second intermediate line are generated then said step of storing stores said new line in said list.
Claim 2
Independent Claim 309 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said method performed by a computer means, said computer means maintaining a list, where said list contains potential edges of said polygon, said method comprising the steps of: determining if said polygon clipping means generated a new line; if said step of determining determines that said polygon clipping means did generate said new line then extracting a potential edge from said list; first comparing said new line with said potential edge, if said step of first comparing determines said new line spatially starts before said previous edge then generating a first intermediate line which starts where said new line starts and ends where said previous edge starts, where said step of first comparing determines said new line starts after said previous edge, said step of generating generates said first intermediate line which starts where said previous edge starts and ends where said new line starts; second comparing said new line with said potential edge, if said step of second comparing determines said new line spatially ends after said previous edge then said step of generating generates a second intermediate line which starts where said previous edge ends and ends where said new line ends, where said step of second comparing determines said new line ends before said previous edge, said step of generating generates said second intermediate line which starts where said new line ends and ends where said previous edge ends; and storing said first intermediate line if so generated and said second intermediate line if so generated in said list and deleting said previous edge from said list, if neither said first intermediate line or said second intermediate line are generated then said step of storing stores said new line in said list.
Claim 3
Dependent Claim 45 words
A method as claimed in claim 1 wherein said step of determining determines that said clipping means did generate a new line if after clipping by said polygon clipping means a line is created wherein neither end point of said line existed in said polygon.
Claim 4
Dependent Claim 27 words
A method as claimed in claim 1 wherein said step of extracting bypasses said steps of first comparing and said second comparing if said list is empty.
Claim 5
Dependent Claim 70 words
A method as claimed in claim 1 wherein said step of determining further comprising the steps of: verifying that said new line and said previous edge exist on a same side of said clip window; and only executing said steps of first comparing and said second comparing if said step of verifying verifies that said new line and said previous edge are on the same side of said clip window.
Claim 6
Dependent Claim 33 words
A method as claimed in claim 4 wherein said steps of extracting, first comparing, second comparing, generating and storing are all repeated until all said potential edges in said list have been extracted.
Claim 7
Independent Claim 109 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said polygon clipping means creating a new line, said method performed by a computer means, said computer means maintaining a list, where said list contains potential edges of said polygon, said method comprising the steps of: extracting a previous edge from said list; checking if said new line overlaps said previous edge; generating an intermediate line which represents those non-overlapping portions of either said new line or said previous edge; deleting said previous edge from said list; and storing said intermediate line in said list.
Claim 8
Independent Claim 109 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said polygon clipping means creating a new line, said method performed by a computer means, said computer means maintaining a list, where said list contains potential edges of said polygon, said method comprising the steps of: extracting a previous edge from said list; checking if said new line overlaps said previous edge; generating an intermediate line which represents those non-overlapping portions of either said new line or said previous edge; deleting said previous edge from said list; and storing said intermediate line in said list.
Claim 9
Dependent Claim 88 words
A method as claimed in claim 6 wherein further comprising the steps of: determining if said clipping means generated a new line such that said steps of extracting, checking, generating, deleting and storing are only executed if said step of determining determines that said clipping means did generate a new line, said step of determining determines that said clipping means did generate a new line if after clipping by said polygon clipping means a line is created wherein neither end point of said line existed in said polygon.
Claim 10
Dependent Claim 32 words
A method as claimed in claim 7 wherein said steps of determining, extracting, checking, generating, deleting and storing are all repeated until all said previous edges in said list have been extracted.
Claim 11
Dependent Claim 26 words
A method as claimed in claim 6 wherein said step of extracting generates said previous edge with a length of zero if said list is empty.
Claim 12
Independent Claim 393 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said polygon clipping means creating a new line, said new line having a higher end and a lower end, said higher end of said new line being higher than said lower end of said new line, said method performed by a computer means, said computer means maintaining a list where said list contains potential edges of said polygon, said method comprising the steps of: extracting a previous edge from said list, said previous edge having a higher end and a lower end, said higher end of said previous edge being higher than said lower end of said previous edge; checking if said new line overlaps said previous edge; if said higher end of said new line is higher then said higher end of said previous edge, then generating an intermediate line have a higher end equal to said higher end of said new line and a lower end equal to said higher end of said previous edge, if in the alternative, said higher end of said new line is lower then said higher end of said previous edge, then said step of generating generates said intermediate line with a higher end equal to said higher end of said previous edge and a lower end equal to said higher end of said new line; shortening said higher end of said new line until said higher end of said new line equals said lower end of said new line or said higher end of said new line equals said lower end of said previous edge, said step of shortening further shortens said higher end of said previous edge until said higher end of said previous edge equals said lower end of said previous edge or said higher end of said previous edge equals said lower end of said new line; and storing said intermediate line if so generated in said list, said step of storing further stores said new line in said list if said higher end of said new line is higher than said lower end of said new line, said step of storing further stores said previous edge in said list if said higher end of said previous edge is higher than said lower end of said previous edge.
Claim 13
Independent Claim 393 words
A method for eliminating extraneous lines generated by a polygon clipping means where said polygon clipping means clips a polygon against a clip window, said polygon clipping means creating a new line, said new line having a higher end and a lower end, said higher end of said new line being higher than said lower end of said new line, said method performed by a computer means, said computer means maintaining a list where said list contains potential edges of said polygon, said method comprising the steps of: extracting a previous edge from said list, said previous edge having a higher end and a lower end, said higher end of said previous edge being higher than said lower end of said previous edge; checking if said new line overlaps said previous edge; if said higher end of said new line is higher then said higher end of said previous edge, then generating an intermediate line have a higher end equal to said higher end of said new line and a lower end equal to said higher end of said previous edge, if in the alternative, said higher end of said new line is lower then said higher end of said previous edge, then said step of generating generates said intermediate line with a higher end equal to said higher end of said previous edge and a lower end equal to said higher end of said new line; shortening said higher end of said new line until said higher end of said new line equals said lower end of said new line or said higher end of said new line equals said lower end of said previous edge, said step of shortening further shortens said higher end of said previous edge until said higher end of said previous edge equals said lower end of said previous edge or said higher end of said previous edge equals said lower end of said new line; and storing said intermediate line if so generated in said list, said step of storing further stores said new line in said list if said higher end of said new line is higher than said lower end of said new line, said step of storing further stores said previous edge in said list if said higher end of said previous edge is higher than said lower end of said previous edge.

References Cited (Backward Citations)

US4972330A Cited
US5040130A Cited
US5231695A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-05-22 1998-11-21 1999-05-23 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-05-22 2002-11-21 2003-05-23 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-05-22 2006-11-21 2007-05-23 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag