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

Go to the source code of this file

SphereLDS relation with a plan - Inherits from LagrangianScleronomousR.

class SphereLDSPlanR : public LagrangianScleronomousR, public std11::enable_shared_from_this<SphereLDSPlanR>

Public Functions

SphereLDSPlanR(double r, double A, double B, double C, double D)


  • r: disk radius
  • A:
  • B:
  • C:
  • D:


visitors hook

void computeh(SiconosVector &q, SiconosVector &z, SiconosVector &y)
void computeJachq(SiconosVector &q, SiconosVector &z)
double distance(double, double, double, double)
bool equal(double _A, double _B, double _C, double _D, double _r) const

Private Functions


serialization hooks

Private Members

double A
double B
double C
double D
double n1
double n2
double n3
double nN
double nU
double r
double ru1
double ru2
double ru3
double rv1
double rv2
double rv3
double u1
double u2
double u3
double v1
double v2
double v3