pub fn continuous_segment3_capsule3<S>(
segment: Segment<S>,
capsule: Capsule3<S>,
) -> Option<((Normalized<S>, Point3<S>), (Normalized<S>, Point3<S>))>where
S: Real,Available on crate feature
math-utils only.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.