// Token: 0x06000302 RID: 770 RVA: 0x0000C430 File Offset: 0x0000A630 public static AxisAlignedBox2?IntersectionWith(this AxisAlignedBox2 axisAlignedBox, AxisAlignedBox2 other) { IntersectionAxisAlignedBox2AxisAlignedBox2 intersectionAxisAlignedBox2AxisAlignedBox = new IntersectionAxisAlignedBox2AxisAlignedBox2(axisAlignedBox, other); AxisAlignedBox2 value; if (intersectionAxisAlignedBox2AxisAlignedBox.Find(out value)) { return(new AxisAlignedBox2?(value)); } return(null); }
// Token: 0x06000301 RID: 769 RVA: 0x0000C410 File Offset: 0x0000A610 public static bool Intersects(this AxisAlignedBox2 axisAlignedBox, AxisAlignedBox2 other) { IntersectionAxisAlignedBox2AxisAlignedBox2 intersectionAxisAlignedBox2AxisAlignedBox = new IntersectionAxisAlignedBox2AxisAlignedBox2(axisAlignedBox, other); return(intersectionAxisAlignedBox2AxisAlignedBox.Test()); }