Re: Intersecting Polygons

From: J French (erewhon_at_nowhere.com)
Date: 09/15/04


Date: Wed, 15 Sep 2004 08:48:30 +0000 (UTC)

On Tue, 14 Sep 2004 10:01:25 -0700, "YYZ" <notapplicable> wrote:

>Thanks Douglas -- that gets me through about 99% of my situations. I actually
>mistyped, though. I should have asked about the intersection of 2 POLYGONS, not
>just rectangles. The polygons can have 3 or more points/sides, up to infinite.
>In reality they probably won't have more than 20 points or so, but...
>
>Any idea about that one? BTW, thanks for pointing me to that Platform SDK help
>section -- I haven't seen it before, and it's better than the APIViewer for some
>things.

Have a careful look at the API: CombineRgn

It might do what you want



Relevant Pages

  • Re: Intersecting Polygons
    ... I should have asked about the intersection of 2 POLYGONS, ... > just rectangles. ... The polygons can have 3 or more points/sides, ...
    (microsoft.public.vb.general.discussion)
  • Re: heap or stack?
    ... Speaking of Points, Lines, Rectangles and Polygons. ... Don't forged that when value type objects are kept in array ... > Is there some middle ground - perhaps an array of structs containing ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: PtInRegion
    ... I was thinking rectangles although you clearly said "polygons". ... The problem is that Windows CE does not ... regions used by SetWindowRegion from a bitmap containing a mask. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: polygon objects are clipped to the plot area if specified with graph coordinates
    ... You are correct that the clipping rules for rectangles and for ... Maybe it would be best if all objects (rectangles, polygons, etc.) had ... If "clip" is given, the object would clip to the plot area. ...
    (comp.graphics.apps.gnuplot)
  • Re: looking for code
    ... > The polygons contain no slanted lines. ... Find one of these rectangles and complete it by extending the partial ... Repeat. ... I'm wondering, though, if there are some hidden requirements here. ...
    (comp.unix.programmer)