CellModules
|
Represents a symmetrical axis constraint. More...
Public Member Functions | |
SymAxis (MecaCell::Vec a, MecaCell::Vec o, double l, double mef, bool fs, double av, std::function< double(double, MecaCell::Vec, MecaCell::Vec)> rf) | |
Constructor for SymAxis. More... | |
Public Attributes | |
MecaCell::Vec | axis |
MecaCell::Vec | origin |
double | length |
double | maxEffectRadius |
bool | fitShape |
double | attraction_velocity |
std::function< double(double, MecaCell::Vec, MecaCell::Vec)> | radiusFunction |
Represents a symmetrical axis constraint.
Definition at line 58 of file PhysicsConstraints.hpp.
|
inline |
Constructor for SymAxis.
a | Axis vector. |
o | Origin point. |
l | Length of the axis. |
mef | Maximum effect radius. |
fs | Indicates if the shape should fit. |
av | Attraction velocity. |
rf | Radius function. |
Definition at line 79 of file PhysicsConstraints.hpp.
double PhysicsConstraints::SymAxis::attraction_velocity |
Attraction velocity
Definition at line 65 of file PhysicsConstraints.hpp.
MecaCell::Vec PhysicsConstraints::SymAxis::axis |
Axis vector
Definition at line 60 of file PhysicsConstraints.hpp.
bool PhysicsConstraints::SymAxis::fitShape |
Indicates if the shape should fit
Definition at line 64 of file PhysicsConstraints.hpp.
double PhysicsConstraints::SymAxis::length |
Length of the axis
Definition at line 62 of file PhysicsConstraints.hpp.
double PhysicsConstraints::SymAxis::maxEffectRadius |
Maximum effect radius
Definition at line 63 of file PhysicsConstraints.hpp.
MecaCell::Vec PhysicsConstraints::SymAxis::origin |
Origin point
Definition at line 61 of file PhysicsConstraints.hpp.
std::function<double(double, MecaCell::Vec, MecaCell::Vec)> PhysicsConstraints::SymAxis::radiusFunction |
Radius function
Definition at line 66 of file PhysicsConstraints.hpp.