Function continuous_segment3_capsule3

Source
pub fn continuous_segment3_capsule3<S>(
    segment: &Segment<S>,
    capsule: &Capsule3<S>,
) -> Option<((S, Point3<S>), (S, Point3<S>))>
where S: Real + Debug,
Expand description

Compute continuous intersection of a line segment with an axis-aligned capsule.

The points are returned in the order given by the ordering of the points in the segment.

Note that a line that is tangent to the surface of the capsule returns no intersection.