gzz-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gzz] Re: [Gzz-commits] gzz/doc/gl irreg0.png irreg1.png


From: Benja Fallenstein
Subject: Re: [Gzz] Re: [Gzz-commits] gzz/doc/gl irreg0.png irreg1.png
Date: Thu, 12 Sep 2002 11:16:32 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020615 Debian/1.0.0-3

Tuomas Lukka wrote:

On Wed, Sep 11, 2002 at 07:07:23PM +0200, Benja Fallenstein wrote:
Tuomas Lukka wrote:

I don't really understand: The problem I was refering to is that you need to draw the border around the *intersection* of two irregular shapes-- how do you do that? Does the algorithm above solve that? If so, how? If not, what *does* it solve? ;-)
I'm sorry, why do I need to draw a border around the intersection of two
irregular shapes? We're talking about different things again, probably.


That's what your images show? (Those whose commit msg I replied to.)

Ahh, I've drawn it too unclearly. The large shapes are in fact rectangles,
the unit rectangles of the coordinate systems. The point was to show
that cs1 defines the visible area and cs2 defines the area of the "paper"
this piece is cut away from.

As you see, if cs2 is inside cs1, there's no irregular border, and in the converse case, the whole border is irregular. If they partially
intersect, part of the border is irregular.


Ok, yes, I wasn't thinking correctly. In your images, you need to draw a border around the intersection of an irregular (defined by cs2) and a regular (cs1) shape.

I.e., in the case where they partially intersect, part of the border is the border of the visible area, and part of the border is the border of the irregular shape.

So, how do you archieve that? Or, am I still not understanding right?

- Benja





reply via email to

[Prev in Thread] Current Thread [Next in Thread]