[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gzz] 9th (asko)
From: |
Asko Soukka |
Subject: |
Re: [Gzz] 9th (asko) |
Date: |
Tue, 15 Oct 2002 13:13:53 +0300 (EEST) |
Mon, 14 Oct 2002, Tuomas Lukka wrote:
[Circular Vob]
> > make a new Circle shape class to handle it's data (and from where to inherit
> > it) or use Java's Rectangle or Ellipse2D.
> Why is a class needed? This should probably just be a single Vob without
> any data, where the circle is drawn inside the (0,1)x(0,1) rectangle.
Like BgVob uses Rectangle, which implements Shape.
I believe that in some phase I want to calculate eg. intersections
between those circles. (Thinking of colliding 2D circles/bubbles/liquid
vobs sharing borders and forming new virtually continous areas.) Although
I guess, if there is any need for general operations associated with
circular vob's shape, the operations (or at least the interface) should be
inherited from some class.
--
Asko Soukka | Taitoniekantie 9 A 603 | address@hidden
+358-40-8235947 | FIN-40740 JYVÄSKYLÄ | http://www.iki.fi/asko.soukka/
Re: [Gzz] 9th (asko), Tuomas Lukka, 2002/10/14
Re: [Gzz] Re: Gzz, Benutzername usw..., Tuomas Lukka, 2002/10/14