1,465 reputation
623
bio website
location
age
visits member for 2 years
seen 4 hours ago

Dec
3
comment How to check if a 2D point is in a polygon?
@rm-rf Thank you! kguler told me using ??*`*PointWindingNumber* could see which package that PointWindingNumber belongs to. But I found V10 gives both Mesh and PolygonUtils, you can see here imgur.com/bCIANiR, then why Mesh didn't work any more?
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Oh, wildcard! I understand! And this is my v10 version gives imgur.com/bCIANiR, it is quite odd that mesh didn't work.
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Please forgive my verbose comment, I know ?? is for Information, but what does those "*" mean here? And when I type ??**PointWindingNumber*, v10 gives both "GraphicsMesh" and "GraphicsPolygonUtils", so why "GraphicsMesh`" didn't work any more?
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Wow, thank you! Much faster now, though GraphicsPolygonUtilsPointWindingNumber doesn't include points threaded by polygon edge. Could please show me how can you find the package moved to PolygonUtils? Because if I search PointWindingNumber in help documentation, it doesn't give any result.
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Another question, where is GraphicsMeshPointWindingNumber now in V10? Deleted?
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Ok. By the way, I just tested RegionMember, but I found it much slower than your original testpoint version, and also much slower than GraphicsMeshPointWindingNumber when I used it in v9
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Wow, you're so familiar with new features in v10. I was wondering if you already known RegionMember before I posted my question?
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler And for the first version of testpoint, sometimes it encounters error message "ArcTan::indet: "Indeterminate expression ArcTan[0.,0.] encountered"", if the edge of polygon passes points.
Dec
3
comment How to check if a 2D point is in a polygon?
@kguler Hello! I tested GraphicsMeshInPolygonQ and unfortunately found it didn't work in V10. What is more, GraphicsMeshPointWindingNumber proposed by rm-rf also didn't work in V10
Dec
3
comment How to check if a 2D point is in a polygon?
@rm-rf As I tested it, this undocumented GraphicsMeshPointWindingNumber is not working in V10, so maybe undocumented function is dangerous?
Nov
22
awarded  Yearling
Nov
6
comment Is it possible to change the color of plot in Show?
@rcollyer Wow, you are so familiar with new features of M10.
Nov
5
comment Is it possible to change the color of plot in Show?
@YvesKlett Oh, I just found that in Mathematica 10, Hue is not working any more. They have changed Hue into RBGColor. So now in M10, we have to use p/._RGBColor->Red. Since your answer is most popular, you may add a note to it.
Oct
10
awarded  Notable Question
Sep
25
awarded  Popular Question
Sep
15
awarded  Popular Question
Sep
11
comment How to control the positions of contour labels?
Thank you! Clever method!
Sep
11
asked How to control the positions of contour labels?
Sep
8
awarded  Notable Question
Sep
3
comment Is there a bug in the Part function of Mathematica 10?
Wow, deep understanding! Thanks, Mr. Wizard