pub fn intersect_segment3_cylinder3<S>(
segment: Segment<S>,
cylinder: Cylinder3<S>,
) -> Option<((Normalized<S>, Point3<S>), (Normalized<S>, Point3<S>))>where
S: Real,Expand description
Boolean intersection computation of a 3D line segment with an axis-aligned cylinder.
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 cylinder returns no intersection.