#include <gmtl/Tri.h>#include <gmtl/Generate.h>#include <gmtl/VecOps.h>

Go to the source code of this file.
Namespaces | |
| namespace | gmtl |
Meta programming classes. | |
Functions | |
Triangle Operations | |
| template<class DATA_TYPE > | |
| Point< DATA_TYPE, 3 > | gmtl::center (const Tri< DATA_TYPE > &tri) |
| Computes the point at the center of the given triangle. | |
| template<class DATA_TYPE > | |
| Vec< DATA_TYPE, 3 > | gmtl::normal (const Tri< DATA_TYPE > &tri) |
| Computes the normal for this triangle. | |
Triangle Comparitors | |
| template<class DATA_TYPE > | |
| bool | gmtl::operator== (const Tri< DATA_TYPE > &tri1, const Tri< DATA_TYPE > &tri2) |
| Compare two triangles to see if they are EXACTLY the same. | |
| template<class DATA_TYPE > | |
| bool | gmtl::operator!= (const Tri< DATA_TYPE > &tri1, const Tri< DATA_TYPE > &tri2) |
| Compare two triangle to see if they are not EXACTLY the same. | |
| template<class DATA_TYPE > | |
| bool | gmtl::isEqual (const Tri< DATA_TYPE > &tri1, const Tri< DATA_TYPE > &tri2, const DATA_TYPE &eps) |
| Compare two triangles to see if they are the same within the given tolerance. | |
1.7.1