/** * Computes the bounding sphere for this handle. * @param finite true, to force bounding sphere to be finite. * @return the bounding sphere. */ protected BoundingSphere computeBoundingSphere(boolean finite) { _boundingSphereChildren = super.computeBoundingSphere(true); return (finite)?BoundingSphere.empty():BoundingSphere.infinite(); }
BoundingSphere bs = super.computeBoundingSphere(finite); if (!bs.isEmpty() && !bs.isInfinite()) { double r = bs.getRadius();