Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

19
  • $\begingroup$ Looks great! I'll try to implement this in my app and let you know asap. Thank you very much. $\endgroup$ Commented Aug 14, 2012 at 9:14
  • $\begingroup$ The testpoint function is a beauty. I would give a bonus if possible, I'll do a fast accept, instead. Thanks kguler $\endgroup$ Commented Aug 14, 2012 at 9:57
  • 1
    $\begingroup$ This doesn't work for self-intersecting polygons, but you could use PolygonTessellation from the package linked in my answer to pre-process. +1 $\endgroup$ Commented Aug 14, 2012 at 10:39
  • 1
    $\begingroup$ @matheorem, i used ??*`*PointWindingNumber* $\endgroup$ Commented Dec 3, 2014 at 2:02
  • 2
    $\begingroup$ @matheorem There is no Graphics`Mesh`* context in v10. You must be seeing it because a symbol was created in that context when you tried kguler's answer or mine (which didn't work). Try again in a fresh session and you won't see it. $\endgroup$ Commented Dec 3, 2014 at 14:07