Half-height of the first cylinder.
Half-height of the second cylinder.
Radius of the first cylinder.
Radius of the second cylinder.
Scalar parameter used in geometric transformation (commonly center-to-center distance).
Scalar offset parameter used in transformation.
Scalar offset parameter used in transformation.
Angle (in degrees) between the cylinder axes projected in 2D.
The first cylinder object.
The second cylinder object.
The shortest vector between the axes of the two cylinders.
True if a vertex-edge intersection is detected; false otherwise.
ApplyTransformation to convert local vertex coordinates into a shared frame.u1, u2) from solving the cylinder-circle intersection equation.checkVertices.
Performs a Vertex-Edge test as part of a collision detection algorithm between two cylinders.
The function transforms 2D representations of the vertices of two cylinders' cross-sections and calculates potential intersection points in the transformed space. It then validates those points via a helper function (
checkVertices) to determine whether a vertex-edge intersection occurs.