public boolean isChildNodeType(Node node) {
   if (node.isAppearanceNode() || node.isGeometry3DNode()) return true;
   else return false;
 }
 public Geometry3DNode getGeometry3D() {
   for (Node node = getChildNodes(); node != null; node = node, next()) {
     if (node.isGeometry3DNode()) return (Geometry3DNode) node;
   }
   return null;
 }