Function kernel::numerics::find_intersections

Function Documentation

const std::vector<GeomPoint<2>> kernel::numerics::find_intersections(const LineMesh<2> &mesh, const Circle &circle)

Returns the intersection points of the Circle with the elements of the LineMesh. The algorithn implemented is the one described here https://stackoverflow.com/questions/1073336/circle-line-segment-collision-detection-algorithm/1084899#1084899%E2%80%8B.