Hyperion.Core.Geometry.BoundingBox.BoundingSphere C# (CSharp) Method

BoundingSphere() public method

public BoundingSphere ( Point &center, double &radius ) : void
center Point
radius double
return void
        public void BoundingSphere(out Point center, out double radius)
        {
            center = 0.5 * pMin + 0.5 * pMax;
            radius = Inside (center) ? Util.Distance (center, pMax) : 0.0;
        }