18 template <
typename Real>
30 template <
typename Real>
39 std::array<Vector2<Real>, 2>
point;
46 template <
typename Real>
53 auto laResult = laQuery(line, arc);
54 result.intersect = laResult.intersect;
58 template <
typename Real>
67 auto lcResult = lcQuery(line, circle);
68 if (lcResult.intersect)
71 result.numIntersections = 0;
72 for (
int i = 0; i < lcResult.numIntersections; ++i)
74 if (arc.Contains(lcResult.point[i]))
76 result.intersect =
true;
77 result.parameter[result.numIntersections]
78 = lcResult.parameter[i];
79 result.point[result.numIntersections++]
86 result.intersect =
false;
87 result.numIntersections = 0;
std::array< Vector2< Real >, 2 > point
std::array< Real, 2 > parameter
Result operator()(Type0 const &primitive0, Type1 const &primitive1)