Core.BoundingBox.Contains C# (CSharp) Méthode

Contains() public méthode

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