TriangleSetGeometryAlgorithms.inl File Reference

#include <sofa/component/topology/TriangleSetGeometryAlgorithms.h>

Include dependency graph for TriangleSetGeometryAlgorithms.inl:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


Namespaces

namespace  sofa
 Main SOFA namespace.
namespace  sofa::component
 Implementation of components.
namespace  sofa::component::topology

Functions

template<class Real >
bool sofa::component::topology::is_point_in_triangle (const Vec< 3, Real > &p, const Vec< 3, Real > &a, const Vec< 3, Real > &b, const Vec< 3, Real > &c)
 Test for REAL if a point p is in a triangle indexed by (a,b,c).
template<class Real >
bool sofa::component::topology::is_point_in_halfplane (const Vec< 3, Real > &p, unsigned int e0, unsigned int e1, const Vec< 3, Real > &a, const Vec< 3, Real > &b, const Vec< 3, Real > &c, unsigned int ind_p0, unsigned int ind_p1, unsigned int ind_p2)
 Test if a point p is in the right halfplane.
template<class Real >
Real sofa::component::topology::areaProduct (const Vec< 3, Real > &a, const Vec< 3, Real > &b)
 Cross product for 3-elements vectors.
template<class Real >
Real sofa::component::topology::areaProduct (const defaulttype::Vec< 2, Real > &a, const defaulttype::Vec< 2, Real > &b)
 area from 2-elements vectors.
template<class Real >
Real sofa::component::topology::areaProduct (const defaulttype::Vec< 1, Real > &, const defaulttype::Vec< 1, Real > &)
 area for 1-elements vectors.


Generated on Sun Nov 23 04:11:06 2008 for Sofa by  doxygen 1.5.7.1