Skip to content
Prev 1874 / 29559 Next

R-sig-Geo Digest, Vol 43, Issue 14

Hi Nic,

The convex hull would be fast and easy to compute (there's existing
code in R). I want the ordinary hull which is the set of arcs forming
the perimeters (inside and out). My crude and very slow solution was
to convert all the polygons (in this case hexagons on a lattice) into
their constituent arcs and then for each arc count how many times it
occurs in the set (requires slightly fuzzy matching of points). Arcs
that occur more than once are removed. The remaining arcs form the
hull. Runs in about 20 minutes with a  few hundred hexagons.
Sufficient for the moment.

THK
On 3/16/07, Nicholas Lewin-Koh <nikko at hailmail.net> wrote: