MathGroup Archive 2009

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

Search the Archive

Re: Polygon with holes

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.

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