Cortex
10.0.0-a4
|
#include "IECore/Export.h"
#include "IECore/VectorTraits.h"
#include "IECore/TetrahedronAlgo.inl"
Go to the source code of this file.
Namespaces | |
IECore | |
This namespace contains all components of the core library. | |
Functions | |
template<typename Vec > | |
VectorTraits< Vec >::BaseType | IECore::tetrahedronVolume (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &v3) |
Returns the volume of the tetrahedron defined by the 4 specified vertices. | |
template<typename Vec > | |
Vec | IECore::tetrahedronPoint (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &v3, typename VectorTraits< Vec >::BaseType barycentric[4]) |
Returns the point of the tetrahedron which has the given barycentric coordinates. | |
template<typename Vec > | |
void | IECore::tetrahedronBarycentric (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &v3, const Vec &p, typename VectorTraits< Vec >::BaseType barycentric[4]) |
template<typename Vec > | |
VectorTraits< Vec >::BaseType | IECore::tetrahedronClosestBarycentric (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &v3, const Vec &p, typename VectorTraits< Vec >::BaseType barycentric[4]) |
Returns the squared-distance to the closest point on the tetrahedron, and computes that point's barycentric coordinates. | |
IECORE_API Imath::V3i | IECore::tetrahedronFaceIndices (int face) |
Defines for operating on tetrahedra.