Glare.Box4i.Distance C# (CSharp) Method

Distance() public method

Get the closest distance between this Box4i and the Vector4i.
public Distance ( Vector4i point ) : double
point Vector4i
return double
        public double Distance( Vector4i point)
        {
            Vector4i nearest;
                NearestPointTo(ref point, out nearest);
                return point.Distance(ref nearest);
        }