#include <PointModel.h>


Public Member Functions | |
| Point (PointModel *model, int index) | |
| Point (core::CollisionElementIterator &i) | |
| const Vector3 & | p () const |
| const Vector3 & | pFree () const |
| const Vector3 & | v () const |
| Vector3 | n () const |
| bool | testLMD (const Vector3 &, double &, double &) |
Definition at line 47 of file PointModel.h.
| sofa::component::collision::Point::Point | ( | PointModel * | model, | |
| int | index | |||
| ) | [inline] |
Definition at line 109 of file PointModel.h.
| sofa::component::collision::Point::Point | ( | core::CollisionElementIterator & | i | ) | [inline, explicit] |
Definition at line 113 of file PointModel.h.
| Vector3 sofa::component::collision::Point::n | ( | ) | const [inline] |
Definition at line 124 of file PointModel.h.
References sofa::core::BaseCollisionElementIterator::index, and sofa::core::TCollisionElementIterator< TModel >::model.
Referenced by sofa::component::collision::DiscreteIntersection::computeIntersection().
| const Vector3 & sofa::component::collision::Point::p | ( | ) | const [inline] |
Definition at line 118 of file PointModel.h.
References sofa::core::BaseCollisionElementIterator::index, and sofa::core::TCollisionElementIterator< TModel >::model.
Referenced by sofa::component::collision::PointModel::computeBoundingTree(), sofa::component::collision::PointModel::computeContinuousBoundingTree(), sofa::component::collision::NewProximityIntersection::computeIntersection(), sofa::component::collision::MinProximityIntersection::computeIntersection(), sofa::component::collision::LocalMinDistance::computeIntersection(), sofa::component::collision::DiscreteIntersection::computeIntersection(), sofa::component::collision::PointModel::draw(), sofa::component::collision::NewProximityIntersection::testIntersection(), sofa::component::collision::MinProximityIntersection::testIntersection(), sofa::component::collision::LocalMinDistance::testIntersection(), testLMD(), and sofa::component::collision::LocalMinDistance::testValidity().
| const Vector3 & sofa::component::collision::Point::pFree | ( | ) | const [inline] |
Definition at line 120 of file PointModel.h.
References sofa::core::BaseCollisionElementIterator::index, and sofa::core::TCollisionElementIterator< TModel >::model.
Referenced by sofa::component::collision::MinProximityIntersection::computeIntersection(), and sofa::component::collision::LocalMinDistance::computeIntersection().
| bool sofa::component::collision::Point::testLMD | ( | const Vector3 & | PQ, | |
| double & | coneFactor, | |||
| double & | coneExtension | |||
| ) |
Definition at line 328 of file PointModel.cpp.
References cross(), dot(), sofa::core::componentmodel::topology::BaseMeshTopology::getEdge(), sofa::core::componentmodel::topology::BaseMeshTopology::getEdgeVertexShell(), sofa::core::componentmodel::topology::BaseMeshTopology::getTriangle(), sofa::core::componentmodel::topology::BaseMeshTopology::getTriangleVertexShell(), sofa::core::BaseCollisionElementIterator::index, sofa::core::TCollisionElementIterator< TModel >::model, sofa::defaulttype::Vec< N, real >::norm(), sofa::defaulttype::Vec< N, real >::normalize(), and p().
| const Vector3 & sofa::component::collision::Point::v | ( | ) | const [inline] |
Definition at line 122 of file PointModel.h.
References sofa::core::BaseCollisionElementIterator::index, and sofa::core::TCollisionElementIterator< TModel >::model.
Referenced by sofa::component::collision::PointModel::computeContinuousBoundingTree().
1.5.7.1