16 template <
typename Real>
42 template <
typename Real>
51 auto ccResult = ccQuery(circle, circleOfArc);
52 if (!ccResult.intersect)
54 result.intersect =
false;
55 result.numIntersections = 0;
59 if (ccResult.numIntersections == std::numeric_limits<int>::max())
62 result.intersect =
true;
63 result.numIntersections = std::numeric_limits<int>::max();
69 for (
int i = 0; i < ccResult.numIntersections; ++i)
71 result.numIntersections = 0;
72 if (arc.Contains(ccResult.point[i]))
74 result.point[result.numIntersections++] = ccResult.point[i];
75 result.intersect =
true;
Result operator()(Type0 const &primitive0, Type1 const &primitive1)