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

Go to the source code of this file

class CircularR : public LagrangianScleronomousR
#include <>

Two circle relation - Inherits from LagrangianScleronomousR.

Subclassed by CircleCircleR, DiskDiskR

Public Functions

inline CircularR(double r1, double r2)


  • disk1 – radius

  • disk2 – radius

virtual ~CircularR() noexcept = default
inline double getRadius1() const
inline double getRadius2() const
inline virtual double distance(double, double, double, double, double, double)

Protected Functions


Protected Attributes

double _r1
double _r2