Function ncollide3d::query::closest_points_segment_segment_with_locations_nD_eps [−][src]
pub fn closest_points_segment_segment_with_locations_nD_eps<N, D>(
seg1: (&Point<N, D>, &Point<N, D>),
seg2: (&Point<N, D>, &Point<N, D>),
eps: N
) -> (SegmentPointLocation<N>, SegmentPointLocation<N>, bool) where
N: RealField,
D: DimName,
DefaultAllocator: Allocator<N, D>,
Segment-segment closest points computation in an arbitrary dimension.
This returns the location of the closest points, as well as a boolean indicating if the two segments were considered parallel.