File mechanics/src/collision/native/bodies/SphereNEDSSphereNEDSR.hpp

Go to the source code of this file

Two spheres relation with the Newton Euler formalism and quaternions.

class SphereNEDSSphereNEDSR : public NewtonEulerFrom3DLocalFrameR, public std11::enable_shared_from_this<SphereNEDSSphereNEDSR>

Public Functions

SphereNEDSSphereNEDSR(double r1, double r2)

Constructor.

Parameters
  • r1: disk1 radius
  • r2: disk2 radius

ACCEPT_VISITORS()

visitors hook

void computeh(double time, BlockVector &q0, SiconosVector &y)
double distance(double, double, double, double, double, double, double, double)

Private Functions

SphereNEDSSphereNEDSR()
ACCEPT_SERIALIZATION(SphereNEDSSphereNEDSR)

serialization hooks

Private Members

double r1
double r1pr2
double r2