template<class TDataTypes>
class sofa::component::collision::geometry::TCylinder< TDataTypes >
A Cylinder can be viewed as a segment with a radius, here the segment is defined by its apexes.
|
| | TCylinder (ParentModel *model, Index index) |
| |
| | TCylinder (const core::CollisionElementIterator &i) |
| |
| Coord | axis () const |
| |
| Real | radius () const |
| |
| Coord | point1 () const |
| |
| Coord | point2 () const |
| |
| const Coord & | v () const |
| |
| | TCollisionElementIterator (Model *model=nullptr, Index index=0) |
| |
| | TCollisionElementIterator (Model *model, Index index, VIterator it, VIterator itend) |
| |
| | TCollisionElementIterator (Model *model, VIterator it, VIterator itend) |
| |
| bool | isActive (core::CollisionModel *cm=nullptr) const |
| |
| bool | operator== (const TCollisionElementIterator< Model2 > &i) const |
| |
| bool | operator!= (const TCollisionElementIterator< Model2 > &i) const |
| |
| TCollisionElementIterator & | operator+= (int n) |
| |
| TCollisionElementIterator | operator+ (int n) const |
| |
| bool | valid () const |
| |
| Model * | getCollisionModel () const |
| | Return the CollisionModel containing the referenced element. More...
|
| |
| std::pair< CollisionElementIterator, CollisionElementIterator > | getInternalChildren () const |
| |
| std::pair< CollisionElementIterator, CollisionElementIterator > | getExternalChildren () const |
| |
| bool | isLeaf () const |
| |
| bool | canCollideWith (const TCollisionElementIterator< Model > &elem) const |
| |
| SReal | getContactDistance () const |
| | Distance to the actual (visual) surface. More...
|
| |
| SReal | getContactStiffness () const |
| | Contact stiffness. More...
|
| |
| SReal | getContactFriction () const |
| | Contact friction (damping) coefficient. More...
|
| |
| void | draw (const core::visual::VisualParams *vparams) |
| |
| | BaseCollisionElementIterator (Index index=0) |
| |
| | BaseCollisionElementIterator (Index index, VIterator it, VIterator itend) |
| |
| | BaseCollisionElementIterator (VIterator it, VIterator itend) |
| |
| void | next () |
| | Increment this iterator to reference the next element. More...
|
| |
| BaseCollisionElementIterator & | operator++ () |
| | Prefix increment this iterator to reference the next element. More...
|
| |
| BaseCollisionElementIterator | operator++ (int) |
| | Postfix increment this iterator to reference the next element. More...
|
| |
| BaseCollisionElementIterator & | operator+= (int n) |
| |
| BaseCollisionElementIterator | operator+ (int n) const |
| |
| Index | getIndex () const |
| |
| const VIterator & | getVIterator () const |
| | Return the current iterator in the vector of indices, in case such a vector is currently used. More...
|
| |
| const VIterator & | getVIteratorEnd () const |
| | Return the end iterator in the vector of indices, in case such a vector is currently used. More...
|
| |