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*

5
  • 3
    $\begingroup$ I believe you could define plg = Cases[plt, Polygon[{x__}] :> x, ∞] (+1) $\endgroup$ Commented Sep 23, 2013 at 13:08
  • $\begingroup$ :-) -- by the way, what is the benefit of keeping the GraphicsComplex form here? Since the points must be resolved for EuclideanDistance anyway it seems to me it would be simpler to use coordinates directly. $\endgroup$ Commented Sep 24, 2013 at 1:12
  • $\begingroup$ You might consider using Nearest as belisarius did here. $\endgroup$ Commented Sep 24, 2013 at 7:23
  • $\begingroup$ @Mr.Wizard I am catching a plane today, but I will have to revisit this after - thanks! $\endgroup$ Commented Sep 24, 2013 at 15:02
  • 2
    $\begingroup$ @Vitaliy Kaurov, did you have any chance to revisit it? :) $\endgroup$ Commented May 13, 2014 at 13:31