public static PolygonIntersectionResult CircleCircleIntersect(Circle c0, Circle c1, bool trueOnEdge = true) { return(PolygonIntersection.CircleCircleIntersect(c0.Position, c0.Radius, c1.Position, c1.Radius, trueOnEdge)); }
public static bool PolygonPolygonIntersect(Polygon p0, Polygon p1) { return(PolygonIntersection.PolygonPolygonIntersect(p0, p1, true).Intersecting); }
public static bool IsPointInCircle(Vector2 point, Circle circle, bool trueOnEdge = true) { return(PolygonIntersection.IsPointInCircle(point, circle.Position, circle.Radius, trueOnEdge)); }
public static bool CirclePolygonIntersect(Vector2 centre, float radius, Polygon p) { return(PolygonIntersection.CirclePolygonIntersect(centre, radius, p, true).Intersecting); }
public static PolygonIntersectionResult CirclePolygonIntersect(Circle c, Polygon p, bool trueOnEdge = true) { return(PolygonIntersection.CirclePolygonIntersect(c.Position, c.Radius, p, trueOnEdge)); }
public static bool CircleCircleIntersect(Vector2 centre0, float radius0, Vector2 centre1, float radius1) { return(PolygonIntersection.CircleCircleIntersect(centre0, radius0, centre1, radius1, true).Intersecting); }