Search Results for

    Show / Hide Table of Contents

    Class RectangleIntersection

    Rectangle intersection finder.

    Inheritance
    Object
    RectangleIntersection
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Advanced.Algorithms.Geometry
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class RectangleIntersection

    Methods

    | Improve this Doc View Source

    DoIntersect(Rectangle, Rectangle)

    Declaration
    public static bool DoIntersect(Rectangle a, Rectangle b)
    Parameters
    Type Name Description
    Rectangle a
    Rectangle b
    Returns
    Type Description
    Boolean
    | Improve this Doc View Source

    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
    Type Name Description
    Rectangle a
    Rectangle b
    Returns
    Type Description
    Rectangle
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX