|
wonder why
they are all SAINode. They should have separate nodes, all descending from
SAINode. Then you could use instanceof or isAssignableFrom/isAssignableTo or
similar
----------------
George Birbilis (birbilis@kagi.com) Microsoft MVP J# for 2004-2006 * QuickTime, QTVR, ActiveX, VCL, .NET http://www.kagi.com/birbilis * Robotics PhD student http://www.mech.upatras.gr/~Robotics http://www.mech.upatras.gr/~robgroup From: owner-x3d-public@web3d.org [mailto:owner-x3d-public@web3d.org] On Behalf Of George Anastassakis Sent: Thursday, March 02, 2006 4:23 PM To: x3d-public@web3d.org Subject: Re: [x3d-public] Checking node type I don't think instanceof is any good, as all
X3DNode implementations are SAINode objects. I guess my question should be, with
what should the values returned by getNodeType be compared to?
George
|