Hi, thanks for clearing that up.
However, I am confused as to how about getting for instance the lower and upper corner Point3ds of a bounding box in the virtual coordinate system.
For instance, if I had something like:
boundingBox = new BoundingBox();
someSphere.setBoundsAutoCompute(false);
someSphere.setBounds(boundingBox);
boundingBox.setLower(-3.0, -3.0, -3.0);
boundingBox.setUpper(3.0, 3.0, 3.0);
boundingBoxLeaf = new BoundingLeaf(boundingBox);
boundingBoxLeaf.setCapability(Node.ALLOW_LOCAL_TO_VWORLD_READ);
I would be able to get the position of the boundingBox by saying
Vector3d pos = new Vector3d();
Transform3D T3D = new Transform3D();
boundingBoxBorderLeaf.getLocalToVworld(T3D);
T3D.get(pos);
However, that only gives me the position of the bounding leaf’s center (correct me if I’m wrong)…how can I actually get the virtual world coordinate positions of the upper and lower corners of the bounding box within the bounding leaf?