发明名称 |
INFORMATION PROCESSOR AND ITS CONTROL METHOD, AND STORAGE MEDIUM |
摘要 |
PROBLEM TO BE SOLVED: To make an inside/outside decision which is speedily adaptive to any case and eliminates the need to take a ray again and again since the inside/ outside decision is made by using not a rectangle for preliminary inside/outside decision making, but a polygon directly and this invention includes a method which handles a case wherein a side of the polygon matches the ray and a case wherein the side comes into contact with the ray. SOLUTION: It is decided (step S203) whether or not a decision point P meets a vertex Ai, it is decided (step S204) whether the decision point P is on a side AiAi+1, and it is decided (step S205) whether or not the side AiAi+1 and a ray PX have a common point. The number N of inside/outside decisions is increased or decreased (step S206) by deciding an intersection by the position relation between all sides AiAi+1 having a common point and the ray PX. The number N of inside/outside decisions is decided (step S208) and the decision point P is an external point (step S212) when N is 0 and an internal point (step S209) when not.
|
申请公布号 |
JP2001109883(A) |
申请公布日期 |
2001.04.20 |
申请号 |
JP19990290085 |
申请日期 |
1999.10.12 |
申请人 |
CANON INC |
发明人 |
YAGI YOHEI;SHINJO KATSUHIKO |
分类号 |
G06T7/60;G06T7/00;(IPC1-7):G06T7/00 |
主分类号 |
G06T7/60 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|