Glare.Box2d.Distance C# (CSharp) Method

Distance() public method

Get the closest distance between this Box2d and the Vector2d.
public Distance ( Vector2d point ) : Double
point Vector2d
return Double
        public Double Distance( Vector2d point)
        {
            Vector2d nearest;
                NearestPointTo(ref point, out nearest);
                return point.Distance(ref nearest);
        }