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


Go to the source code of this file.
Data Structures | |
| class | sofa::component::topology::TriangleSetGeometryAlgorithms< DataTypes > |
| A class that provides geometry information on an TriangleSet. More... | |
Namespaces | |
| namespace | sofa |
| Main SOFA namespace. | |
| namespace | sofa::component |
| Implementation of components. | |
| namespace | sofa::component::topology |
Typedefs | |
| typedef BaseMeshTopology::SeqTriangles | sofa::component::topology::SeqTriangles |
| typedef BaseMeshTopology::VertexTriangles | sofa::component::topology::VertexTriangles |
| typedef BaseMeshTopology::EdgeTriangles | sofa::component::topology::EdgeTriangles |
| typedef BaseMeshTopology::TriangleEdges | sofa::component::topology::TriangleEdges |
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. | |
| void | sofa::component::topology::snapping_test_triangle (double epsilon, double alpha0, double alpha1, double alpha2, bool &is_snap_0, bool &is_snap_1, bool &is_snap_2) |
| void | sofa::component::topology::snapping_test_edge (double epsilon, double alpha0, double alpha1, bool &is_snap_0, bool &is_snap_1) |
| 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. | |
1.5.7.1