At 6:12 PM +0100 3/7/06, Maarten wrote:
I really can't see the reason why it's protected.
It's conceivable that the designers of this class considered it
carefully, and had very good reasons, even if you can't see them.
(Try typing "immutable objects" into Google, or browsing a bit on
Wikipedia. You could even go to a library and read old-fashioned
books on the subject.)
And BTW, it's not protected, it's read-only. If it were protected,
you wouldn't be able to access it at all except in a subclass.
I guess I'm going to have to create a new bounds every time I wan't
to change the radius.
That's correct. Just as you create a new string every time you want
to change the text.
btw, the bounds3d.center (vector3d) is NOT being set on creation.
Yes it is.
If you use my above script the center ends up NIL, and there is no
way of changing it because it also is a protected property. This
means that you can't use the bounds3d class *at all* for spheres. I
don't want to be rude, but it
seems like some crappy coding to me.
One wonders why you were in fact rude, if you didn't want to be.
There must be some crappy coding involved here, but not in REALbasic
-- I just tried it myself and it works fine for me. You might make
more progress if you spend less time insulting those whom you are
asking for help, and more time looking for errors in your code.
--
Joseph J. Strout
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>