SOFA API  ca665544
Open source framework for multi-physics simuation
sofa::collision_test Namespace Reference

Functions

sofa::component::collision::geometry::TriangleCollisionModel< sofa::defaulttype::Vec3Types >::SPtr makeTri (const Vec3 &p0, const Vec3 &p1, const Vec3 &p2, const Vec3 &v, sofa::simulation::Node::SPtr &father)
 
sofa::component::collision::geometry::SphereCollisionModel< sofa::defaulttype::Rigid3Types >::SPtr makeRigidSphere (const Vec3 &p, SReal radius, const Vec3 &v, const double *angles, const int *order, sofa::simulation::Node::SPtr &father)
 
sofa::component::collision::geometry::SphereCollisionModel< sofa::defaulttype::Vec3Types >::SPtr makeSphere (const Vec3 &p, SReal radius, const Vec3 &v, sofa::simulation::Node::SPtr &father)
 

Function Documentation

◆ makeRigidSphere()

sofa::component::collision::geometry::SphereCollisionModel<sofa::defaulttype::Rigid3Types>::SPtr sofa::collision_test::makeRigidSphere ( const Vec3 p,
SReal  radius,
const Vec3 v,
const double *  angles,
const int *  order,
sofa::simulation::Node::SPtr father 
)
inline

◆ makeSphere()

sofa::component::collision::geometry::SphereCollisionModel<sofa::defaulttype::Vec3Types>::SPtr sofa::collision_test::makeSphere ( const Vec3 p,
SReal  radius,
const Vec3 v,
sofa::simulation::Node::SPtr father 
)
inline

◆ makeTri()

sofa::component::collision::geometry::TriangleCollisionModel<sofa::defaulttype::Vec3Types>::SPtr sofa::collision_test::makeTri ( const Vec3 p0,
const Vec3 p1,
const Vec3 p2,
const Vec3 v,
sofa::simulation::Node::SPtr father 
)
inline