code: public static float[] calculateGeometricDimensions(final GVRSceneObject item) {
          final GVRRenderData renderData = item.getRenderData();
          if (renderData != null) {
              final GVRMesh mesh = renderData.getMesh();
              if (mesh != null) {
                  final float[] dimensions = calculateGeometricDimensions(mesh);
  
                  GVRTransform transform = item.getTransform();
  
                  dimensions[0] *= transform.getScaleX();
                  dimensions[1] *= transform.getScaleY();
                  dimensions[2] *= transform.getScaleZ();
  
                  return dimensions;
              }
          }
          return new float[] {
                  0f, 0f, 0f
          };
      }
docs: Calculates the length of the edges of {@code item's}
  {@linkplain GVRMesh#getBoundingBox() bounding box}. These lengths are
  relative to the object itself, and have the object's scaling applied to
  it. Rotations are not taken into account.
  
  @param item
  The {@link GVRSceneObject} to calculate with width for.
  @return The dimensions of {@code item}.