Class RectangleIntersection
Rectangle intersection finder.
Inheritance
RectangleIntersection
Assembly: Advanced.Algorithms.dll
Syntax
public class RectangleIntersection : object
Methods
DoIntersect(Rectangle, Rectangle)
Declaration
public static bool DoIntersect(Rectangle a, Rectangle b)
Parameters
Returns
FindIntersection(Rectangle, Rectangle)
Returns the rectangle formed by the intersection if do intersect.
Otherwise default value of Rectangle struct.
Declaration
public static Rectangle FindIntersection(Rectangle a, Rectangle b)
Parameters
Returns