The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 09, 2001

Filed:

Jan. 24, 1996
Applicant:
Inventors:

Steven J. Claiborne, Boise, ID (US);

Jeff H. Papke, Meridian, ID (US);

Assignee:

Hewlett-Packard Co., Palo Alto, CA (US);

Attorney:
Primary Examiner:
Assistant Examiner:
Int. Cl.
CPC ...
G06T 1/120 ; G06T 1/530 ;
U.S. Cl.
CPC ...
G06T 1/120 ; G06T 1/530 ;
Abstract

There is described a method for determining the relative location between a rectangle and a polygon. First, a box that bounds the polygon is created. An outside indicator is returned if the rectangle is outside the box. An intersect indicator is returned if the box is entirely inside the rectangle. If an odd/even fill process is in use then first the intersect indicator is returned if the rectangle intersects with the polygon or if a subpath bounding box is entirely inside the rectangle. Finally, if the location of the rectangle has not yet been returned, the location of a single point of the rectangle is returned. If a non-zero winding fill process is in use, first, the intersect indicator is returned if at least one corner of the rectangle is in a different side of the polygon than remaining corners of the rectangle. Next, the intersect indictor is returned if an edge of the rectangle starts outside the polygon and intersects with the polygon or if an edge of the rectangle intersects with the polygon and transitions outside the polygon. A subpath bounding box that bounds any subpaths is created. The location of a corner of the rectangle is returned if a point inside the subpath is equal to the corner of the rectangle. In the alternative, where the corner and subpath's points are different, the intersect indicator is returned. Finally, if the location of the rectangle has not yet been returned, the location of a center point of the rectangle is returned.


Find Patent Forward Citations

Loading…