Class DiskPlanR

Defined in Program listing for file mechanics/src/collision/native/bodies/DiskPlanR.hpp

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

disk - plan relation - Inherits from LagrangianScleronomousR

Public Functions

DiskPlanR(double r, double A, double B, double C)

Infinite Plan.

Parameters
  • r: disk radius
  • A: component of line equation Ax + By + C = 0
  • B: component of line equation Ax + By + C = 0
  • C: component of line equation Ax + By + C = 0

DiskPlanR(double disk, double A, double B, double C, double xCenter, double yCenter, double width)

Finite or infinite Plan (segment)

Parameters
  • disk: radius
  • A:
  • B:
  • C:
  • xCenter:
  • yCenter:
  • width:

DiskPlanR(double, double, double, double, double)

Finite Plan.

ACCEPT_VISITORS()

visitor hooks