|
[Date Index]
[Thread Index]
[Author Index]
Re: Polygon with holes
- To: mathgroup at smc.vnet.net
- Subject: [mg97406] Re: Polygon with holes
- From: Harrie Kraai <hakraai at xs4all.nl>
- Date: Thu, 12 Mar 2009 05:42:50 -0500 (EST)
- References: <200903101034.FAA09944@smc.vnet.net> <gp7vr4$1bn$1@smc.vnet.net>
Thanks Frank, I was not aware of this library.
Now I know how to compute the polygons. But how do I render them in
Mathematica?
HK
Frank Scherbaum wrote:
> 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: reversing axes orientation
Next by Date:
Re: Using Select
Previous by thread:
Re: Polygon with holes
Next by thread:
Re: Polygon with holes
|