pub fn continuous_segment2_sphere2<S>(
segment: &Segment<S>,
sphere: &Sphere2<S>,
) -> Option<((S, Point2<S>), (S, Point2<S>))>
Expand description
Compute continuous intersection of a 2D line segment with a 2D sphere (circle).
The points are returned in the order given by the ordering of the points in the segment.
Note that a segment that is tangent to the surface of the circle returns no intersection.