摘要 |
PROBLEM TO BE SOLVED: To correctly generate a point inside a closed area. SOLUTION: A straight line crossing a graphic element is generated (S201), the intersection between the generated straight line and the graphic element is calculated (S202), the propriety of the straight line is decided on the basis of the calculated intersection (S205), when the straight line is decided to be inappropriate, a straight line is regenerated, when the straight line is decided to be appropriate, a section inside the closed area of the straight line is selected (S203), and the point inside the closed area is generated on a selected line segment (S204).
|