#include <vector>
#include "../utilities/utils.hpp"
Go to the source code of this file.
|
namespace | MecaCell |
| this file contains various miscellanious utility functions & helpers *
|
|
|
std::pair< bool, Vec > | MecaCell::rayInTriangle (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &o, const Vec &r, const double tolerance=0) |
| test if a ray hits a triangle More...
|
|
std::pair< bool, Vec > | MecaCell::projectionIntriangle (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p, const double tolerance=0) |
| tests if the projection of a point along the normal of a triangle is inside said triangle More...
|
|
double | MecaCell::closestDistToTriangleEdge (const Vec &v0, const Vec &v1, const Vec &v2, const Vec &p) |
| computes the smallest distance to a triangle edge from a given point More...
|
|