Given:
1) A complex body (landscape mesh) consisting of triangular polygons
2) A simple body (for example, a cylinder). For him, the center point and all its measurements are known.
We need an algorithm for determining the presence of the intersection of these two bodies. At the same time, a complex body is much larger than a simple one (in size and number of vertices).
The main task is to answer as quickly as possible whether there is an intersection between these bodies. Pretreatment of a complex body is allowed.
What are some approaches to solve this problem?
I’ll also say right away that we need an algorithm, and not some kind of physics engine, which will determine all this by itself.

