示例#1
0
 public static bool IsPointInCircle(Vector2 point, Circle circle, bool trueOnEdge = true)
 {
     return(PolygonIntersection.IsPointInCircle(point, circle.Position, circle.Radius, trueOnEdge));
 }
示例#2
0
 public static PolygonIntersectionResult CircleCircleIntersect(Circle c0, Circle c1, bool trueOnEdge = true)
 {
     return(PolygonIntersection.CircleCircleIntersect(c0.Position, c0.Radius, c1.Position, c1.Radius, trueOnEdge));
 }
示例#3
0
 public static PolygonIntersectionResult CirclePolygonIntersect(Circle c, Polygon p, bool trueOnEdge = true)
 {
     return(PolygonIntersection.CirclePolygonIntersect(c.Position, c.Radius, p, trueOnEdge));
 }