public static Geometry makeGeometry(BoundingBox bbox) {
        float xExtent = bbox.getXExtent();
        float yExtent = bbox.getYExtent();
        float zExtent = bbox.getZExtent();
        WireBox mesh = new WireBox(xExtent, yExtent, zExtent);
        Geometry result = new Geometry("bounding box", mesh);

        Vector3f center = bbox.getCenter();
        result.setLocalTranslation(center);

        return result;
    }
Create a geometry suitable for visualizing the specified bounding box.

@param bbox the bounding box (not null)
@return a new Geometry instance in world space
jme3-core/src/main/java/com/jme3/scene/debug/WireBox.java