This content has been marked as final.
Show 4 replies
-
1. Re: How to determine a point(or a path) inside a closed path?
A. Patterson Jan 11, 2011 7:45 AM (in response to starnight1981)I don't think the SDK has any help on this. At least, not that I've seen. We do this kind of work ourselves, but fortunately there are a lot of good published algorithms for doing this So long as you assume the lines aren't bezier anyways!
-
2. Re: How to determine a point(or a path) inside a closed path?
starnight1981 Jan 13, 2011 6:33 AM (in response to starnight1981)Who did a better algorithm?
-
3. Re: How to determine a point(or a path) inside a closed path?
A. Patterson Jan 13, 2011 7:05 AM (in response to starnight1981)I took a look and ours is based on an algorithm found at
http://softsurfer.com/Archive/algorithm_0103/algorithm_0103.htm
-
4. Re: How to determine a point(or a path) inside a closed path?
starnight1981 Jan 15, 2011 6:13 AM (in response to starnight1981)haha ,I found a good way to solve this problem,We can use AIPathfinderSuite::DoFrontMinusBackEffect to determine whether a path inside another closed path.




