Timeline for Tell if a point is inside a FilledCurve
Current License: CC BY-SA 3.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 25, 2015 at 1:11 | comment | added | KennyColnago | With version 10.2, there is a simple modification for the visualization which eliminates the test function f. For example, region=BoundaryDiscretizeGraphics[curve,MaxCellMeasure->0.01], followed by p=RandomPoint[region,5000], and Graphics[{{Red,AbsolutePointSize[1],Point[p]},{FaceForm[],EdgeForm[Black],curve}}]. | |
| Nov 24, 2015 at 10:14 | vote | accept | yarchik | ||
| Nov 20, 2015 at 20:00 | comment | added | eldo | Perfect +1 ---------- | |
| Nov 20, 2015 at 19:55 | comment | added | ybeltukov | @eldo please, check the update. Do you obtain the same figure? | |
| Nov 20, 2015 at 19:54 | history | edited | ybeltukov | CC BY-SA 3.0 | added 293 characters in body |
| Nov 20, 2015 at 19:49 | comment | added | ybeltukov | @eldo It is due to nonzero point size. Note that all point are at the lower part. May be RandomReal[50, {1000, 2}] is better. | |
| Nov 20, 2015 at 19:45 | comment | added | eldo | When I make pts = RandomReal[20, {1000, 2}] and then Show[{Graphics@{Red, PointSize@Large, Point@Pick[pts, f@pts]}, Graphics[curve, ImageSize -> Large]}] some points show up at the lower left outline but not inside the Q | |
| Nov 20, 2015 at 19:24 | history | answered | ybeltukov | CC BY-SA 3.0 |