Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Static method: bool BoundingBoxWithBoundingBox(double, double, double, double, double, double, double, double)

Declaration

public static bool BoundingBoxWithBoundingBox(
    double fx1,
    double fy1,
    double tx1,
    double ty1,
    double fx2,
    double fy2,
    double tx2,
    double ty2
)

Summary

Checks for intersections between the two bounding boxes specified by the coordinates. Returns true if there is at least one intersection. Coordinates ending with "1" belong to the first box, "2" to the second one. Coordinates starting with "f" MUST be less than or equal to ones starting with "t".