I'm working on a script to determine whether two faces are tangent to each other in ANSYS Mechanical. While planar faces are relatively straightforward to handle using normal vector comparisons and centroid-based plane checks, I am unsure how to robustly detect tangency between more complex surface types, particularly cylindrical faces, Conical faces and Spline.
Any guidance on algorithms, heuristics, or best practices for identifying face tangency — especially for these non-planar surfaces — would be greatly appreciated.
Thank you!