Hi..

Supposed that I have a class extended from Shape3D. I want to retrieve
objects from that class by using PickObject class.
If I use PickObject.pickAllSorted(x,y, PickObject.USE_GEOMETRY), I got
message "no capability set for allowing intersect". If I don't specify any
flag, the result is null.
If I use BranchGroup.pickAllSorted, and then make a conditional " if obj
instanceof shape3d" and make a casting like this :
ClassName newclass = (ClassName) obj,
I got error message "classcastexception"...

Which pick should I use for that?

Thanks
Tria

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to