public bool TestAABBIntersect(GeoAABB2 aabb) { GeoInsectPointArrayInfo insect = new GeoInsectPointArrayInfo(); return(GeoSegmentUtils.IsSegmentInsectAABB2(mSeg.mP1, mSeg.mP2, aabb.mMin, aabb.mMax, ref insect)); }
// aabb public static bool IsAABBInsectSegment2(Vector2 min, Vector2 max, Vector2 seg1, Vector2 seg2, ref GeoInsectPointArrayInfo insect) { return(GeoSegmentUtils.IsSegmentInsectAABB2(seg1, seg2, min, max, ref insect)); }