[Algorithms] Distance between box and triangle
Brought to you by:
vexxed72
From: <And...@me...> - 2004-11-29 15:54:20
|
Hi, does anyone know where I can find code that computes the distance between a box and a triangle. I was first thinking about extending David Eberly's rectangle to triangle distance code, but I think the original code is too long as it is (every case written out explicitely). I'm also thinking about formulating the problem as a quadtratic programming problem with constraints but haven't been able to find a small free solver that is easy to integrate into my code. Any pointers would be much appreciated. /A.B. ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ |