Invention Application
- Patent Title: TECHNIQUES FOR SOLVING THE SPHERICAL POINT-IN-POLYGON PROBLEM
-
Application No.: US16848375Application Date: 2020-04-14
-
Publication No.: US20210081490A1Publication Date: 2021-03-18
- Inventor: William Martinez Cortes , Shasank Kisan Chavan , Siva Ravada , Ying Hu
- Applicant: ORACLE INTERNATIONAL CORPORATION
- Applicant Address: US CA Redwood Shores
- Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee: ORACLE INTERNATIONAL CORPORATION
- Current Assignee Address: US CA Redwood Shores
- Main IPC: G06F17/16
- IPC: G06F17/16 ; G06F9/38

Abstract:
Techniques described herein perform spherical PIP analysis by detecting whether a test ray (defined by a test point (TP) and a point (EP) that is external to a spherical polygon) crosses edge arcs (“edges”) of the polygon based on relative orientations of vertices of the test ray and edges. A classifier vector (CV) for a test ray is calculated based on the cross-product of the TP and the EP. Using the CV, the orientation of each vertex of the polygon with respect to the test ray is determined. Candidate edges having vertices with opposite orientations with respect to the test ray are identified. Crossing edges are determine by calculating CVs for each candidate edge, and determining orientations of the TP and EP with respect to each candidate edge. A set of crossing edges is determined, where the TP and the EP have opposite orientations with respect to each crossing edge.
Information query