Checking for the intersection of a 4D line segment and a 4D convex polytope

  4d, c++, geometry

I have two 4D shapes: a polytope composed of two triangles with each side connected to the corresponding side on the other triangle (think triangular prism, but not necessarily straight) and a line segment.

I don’t need to know where they intersect, just whether they intersect or not. How can I check for this?

Source: Windows Questions C++

LEAVE A COMMENT