/// <summary> /// 判断是否与另一范围有交集 /// </summary> public bool Intersects(Bound3 other) { return x.Intersects(other.x) && y.Intersects(other.y) && z.Intersects(other.z); }
/// <summary> /// 判断是否与另一范围有交集 /// </summary> public bool Intersects(Bound2 other) { return x.Intersects(other.x) && y.Intersects(other.y); }