System for determining the extent of overlap between two polygons
a system for determining the extent of overlap between two primary polygons which are simply connected and have vertices of known coordinate values. Each of the sides in each polygon is first defined in terms of parameters which have limits of constant values as shown by block 14 in FIG. 2. Then, as set forth in block 15 in FIG. 2, a determination is made as to whether each of the sides in one of the polygons intersects any side in the other polygon by respectively equating the parametric definitions of each of the sides in the first polygon with the parametric definitions of each of the sides in the second polygon. A pair of sides so equated will intersect if each side has a resultant parameter within said limits. Routines are provided for determining when intersections will be non-degenerate, and when they will be degenerate, and when there will be no intersections thus indicating that the polygons either completely overlap or have no overlap at all. Intersections will be non-degenerate if the resultant parameters for each of the sides is somewhere between said limits. Intersections will be degenerate if the resultant parameter for either side is at one of its limits. A non-degenerate intersection is defined as one involving only one side from each of the two polygons while a degenerate intersection involves an additional side from at least one of the two polygons. The non-degenerate intersections are vertices in subsidiary polygons formed by the overlap of the two primary polygons.
Latest IBM Patents:
- INTERACTIVE DATASET EXPLORATION AND PREPROCESSING
- NETWORK SECURITY ASSESSMENT BASED UPON IDENTIFICATION OF AN ADVERSARY
- NON-LINEAR APPROXIMATION ROBUST TO INPUT RANGE OF HOMOMORPHIC ENCRYPTION ANALYTICS
- Back-side memory element with local memory select transistor
- Injection molded solder head with improved sealing performance
Type: Grant
Filed: Jan 17, 1979
Date of Patent: Oct 2, 1979
Assignee: International Business Machines Corporation (Armonk, NY)
Inventors: Michael Feuer (Poughkeepsie, NY), Ning Nan (Poughkeepsie, NY)
Application Number: 6/4,121
International Classification: G06F 1546;