siconos.mechanics.collision.bodies.DiskPlanR (Python class)

class siconos.mechanics.collision.bodies.DiskPlanR(*args)[source]

Bases: siconos.kernel.LagrangianScleronomousR

disk - plan relation - Inherits from LagrangianScleronomousR

Generated class (swig), based on C++ header Program listing for file mechanics/src/collision/native/bodies/DiskPlanR.hpp.

Constructors

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.

computeJachq(array_like (np.float64, 1D) q, array_like (np.float64, 1D) z) → None[source]
computeh(array_like (np.float64, 1D) q, array_like (np.float64, 1D) z, array_like (np.float64, 1D) y) → None[source]
distance(double x, double y, double r) → double[source]
equal(*args)[source]

Warning - Overloaded function : multiple signatures available, check prototypes below.

equal(double, double, double, double) → bool[source]
equal(double, double, double, double, double, double, double) → bool[source]
equal(DiskPlanR) → bool[source]
getA() → double[source]
getB() → double[source]
getC() → double[source]
getRadius() → double[source]
getWidth() → double[source]
getXCenter() → double[source]
getYCenter() → double[source]
gethypotAB() → double[source]
isFinite() → bool[source]