Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Polygon with holes

  • To: mathgroup at smc.vnet.net
  • Subject: [mg97326] Re: [mg97290] Polygon with holes
  • From: Frank Scherbaum <fscherbaum at mac.com>
  • Date: Wed, 11 Mar 2009 04:21:43 -0500 (EST)
  • References: <200903101034.FAA09944@smc.vnet.net>

HK
Am 10.03.2009 um 11:34 schrieb Harrie Kraai:

> Hi group,
>
> Does anyone know of a facility for Polygons (graphics) with holes  
> inside?
> I guess there is no such thing as an oriented polygon in Mathematica?
> Or a polygon consisting of disjoint lines (inner and outer contours,
> clockwise and counterclockwise)?
>
> I can see that it is possible to connect outer and inner contours  
> using
> a dummy line, but that is not so easy to program in a generic way.
>
> Solutions such as creating an artificial hole by another Polygon in  
> the
> background colour are not really acceptable.
>
> Polygon's with holes would be very useful for maps etc.
>
> Sincerely
>
> HK
> general
you may find the general polygon clipping library of interest for your  
purpose. It can deal with polygons with holes.
http://www.cs.man.ac.uk/~toby/alan/software/
Cheers,
Frank


  • Prev by Date: Re: Wolfram/Alpha
  • Next by Date: Re: Mathematica 7.0.1.0 and some General Comments
  • Previous by thread: Polygon with holes
  • Next by thread: Re: Polygon with holes