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

Polygon and polyline clipping for computer graphic displays

Assignee: University of Western Ontario
•
Filing: 1993-03-08
•
Granted: 1995-10-03
•
Expires: 2013-03-08
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A method of clipping polygons in two dimensions, in which if a vertex is outside a boundary line, the succeeding vertex is handled as it is also outside the same boundary line until determined to be otherwise, in which if a vertex is in the window, the succeeding vertex is handled as it is also in the window until determined to be otherwise. This method also produces the fewest vertices after clipping a polygon. A method for clipping polylines is also derived from this method.

Inventors

  • 👤 Tina Nicholl
  • 👤 Khun Y. Fung

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 13:50
CPC Classifications
G; G06; G06T; G06T15/00; G06T15/10; G06T15/30; G06T11/00; G06T11/40

Claims Analysis

Total Claims: 10
Claim 1
Independent Claim 231 words
A method of clipping a polygon against a window in a two-dimensional plane in which imaginary boundary lines correspond to window borders, extensions of the imaginary boundary lines divide the two-dimensional plane into regions, sides of the boundary lines on which the window lie are defined as the visible sides, and the other sides of the boundary lines are defined as the invisible sides, said method comprising the steps of: a. dividing vertices of the polygon into groups of consecutive vertices with respect to the window; b. identifying each group as a visible group or an invisible group; and c. processing the groups of consecutive vertices together, said visible groups being processed by comparing each vertex with the window borders and clipping the edge of the polygon between consecutive vertices of adjacent groups using a line clipping algorithm, and said invisible groups being processed by initially determining the location of the first vertices in the invisible group and designating that region as the designated invisible side (DIS), comparing the next vertex with the DIS to determine if that vertex is in the DIS and continuing until a vertex is found which is not in the DIS, and clipping the edge of the polygon between consecutive vertices which are in the DIS and not in the DIS respectively to determine whether there are intersection points between the edge and the window boundary.
Claim 2
Independent Claim 231 words
A method of clipping a polygon against a window in a two-dimensional plane in which imaginary boundary lines correspond to window borders, extensions of the imaginary boundary lines divide the two-dimensional plane into regions, sides of the boundary lines on which the window lie are defined as the visible sides, and the other sides of the boundary lines are defined as the invisible sides, said method comprising the steps of: a. dividing vertices of the polygon into groups of consecutive vertices with respect to the window; b. identifying each group as a visible group or an invisible group; and c. processing the groups of consecutive vertices together, said visible groups being processed by comparing each vertex with the window borders and clipping the edge of the polygon between consecutive vertices of adjacent groups using a line clipping algorithm, and said invisible groups being processed by initially determining the location of the first vertices in the invisible group and designating that region as the designated invisible side (DIS), comparing the next vertex with the DIS to determine if that vertex is in the DIS and continuing until a vertex is found which is not in the DIS, and clipping the edge of the polygon between consecutive vertices which are in the DIS and not in the DIS respectively to determine whether there are intersection points between the edge and the window boundary.
Claim 3
Dependent Claim 32 words
A method of clipping a polygon as claimed in claim 1, wherein the clipping algorithm is a Nicholl-Lee-Nicholl algorithm, modified to use information obtained from steps a. and b. of claim 1.
Claim 4
Dependent Claim 155 words
A method of clipping a polygon as claimed in claim 2, further comprising the steps of creating a homing register wherein every time a DIS is changed the homing register is increased by one where the new DIS is the next invisible side counterclockwise to the old DIS, is decreased by one where the new DIS is the next invisible side clockwise and is either increased or decreased by two where the new DIS is opposite to the old DIS, and once the entire invisible group is processed if the homing register is positive all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the counterclockwise direction are included, and if the homing register is negative all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the clockwise direction are included.
Claim 5
Dependent Claim 155 words
A method of clipping a polygon as claimed in claim 1, further comprising the steps of creating a homing register wherein every time a DIS is changed the homing register is increased by one where the new DIS is the next invisible side counterclockwise to the old DIS, is decreased by one where the new DIS is the next invisible side clockwise and is either increased or decreased by two where the new DIS is opposite to the old DIS, and once the entire invisible group is processed if the homing register is positive all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the counterclockwise direction are included, and if the homing register is negative all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the clockwise direction are included.
Claim 6
Independent Claim 240 words
A method of clipping a polyline against a window in a two-dimensional plane in which imaginary boundary lines correspond to window borders, extensions of the imaginary boundary lines divide the two-dimensional plane into regions, sides of the boundary lines on which the window lie are defined as the visible sides, and the other sides of the boundary lines are defined as the invisible sides, said method comprising the steps of: a. dividing vertices of the polyline into groups of consecutive vertices with respect to the window, free ends of the polyline being considered as vertices; b. identifying each group as a visible group or an invisible group; and c. processing the groups of consecutive vertices together, said visible groups being processed by comparing each vertex with the window borders and clipping the edge of the polyline between consecutive vertices of adjacent groups using a line clipping algorithm, and said invisible groups being processed by initially determining the location of the first vertices in the invisible group and designating that region as the designated invisible side (DIS), comparing the next vertex with the DIS to determine if that vertex is in the DIS and continuing until a vertex is found which is not in the DIS, and clipping the edge of the polyline between consecutive vertices which are in the DIS and not in the DIS respectively to determine whether there are intersection points between the edge and the window boundary.
Claim 7
Independent Claim 240 words
A method of clipping a polyline against a window in a two-dimensional plane in which imaginary boundary lines correspond to window borders, extensions of the imaginary boundary lines divide the two-dimensional plane into regions, sides of the boundary lines on which the window lie are defined as the visible sides, and the other sides of the boundary lines are defined as the invisible sides, said method comprising the steps of: a. dividing vertices of the polyline into groups of consecutive vertices with respect to the window, free ends of the polyline being considered as vertices; b. identifying each group as a visible group or an invisible group; and c. processing the groups of consecutive vertices together, said visible groups being processed by comparing each vertex with the window borders and clipping the edge of the polyline between consecutive vertices of adjacent groups using a line clipping algorithm, and said invisible groups being processed by initially determining the location of the first vertices in the invisible group and designating that region as the designated invisible side (DIS), comparing the next vertex with the DIS to determine if that vertex is in the DIS and continuing until a vertex is found which is not in the DIS, and clipping the edge of the polyline between consecutive vertices which are in the DIS and not in the DIS respectively to determine whether there are intersection points between the edge and the window boundary.
Claim 8
Dependent Claim 32 words
A method of clipping a polyline as claimed in claim 5, wherein the clipping algorithm is a Nicholl-Lee-Nicholl algorithm, modified to use information obtained from steps a. and b. of claim 1.
Claim 9
Dependent Claim 155 words
A method of clipping a polyline as claimed in claim 6, further comprising the steps of creating a homing register wherein every time a DIS is changed the homing register is increased by one where the new DIS is the next invisible side counterclockwise to the old DIS, is decreased by one where the new DIS is the next invisible side clockwise and is either increased or decreased by two where the new DIS is opposite to the old DIS, and once the entire invisible group is processed if the homing register is positive all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the counterclockwise direction are included, and if the homing register is negative all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the clockwise direction are included.
Claim 10
Dependent Claim 155 words
A method of clipping a polyline as claimed in claim 5, further comprising the steps of creating a homing register wherein every time a DIS is changed the homing register is increased by one where the new DIS is the next invisible side counterclockwise to the old DIS, is decreased by one where the new DIS is the next invisible side clockwise and is either increased or decreased by two where the new DIS is opposite to the old DIS, and once the entire invisible group is processed if the homing register is positive all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the counterclockwise direction are included, and if the homing register is negative all the window points between the previous intersection point and the intersection point following the last vertex of the invisible group in the clockwise direction are included.

References Cited (Backward Citations)

US5040130A Cited
US5208909A Cited

USPTO Annuity & Maintenance Windows

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

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag