Core.BoundingBox.Contains C# (CSharp) Method

Contains() public method

public Contains ( BoundingBox other ) : bool
other BoundingBox
return bool
        public bool Contains(BoundingBox other)
        {
            return other.X1 >= X1 && other.Y1 >= Y1 && other.X2 <= X2 && other.Y2 <= Y2;
        }