Classes | Enumerations | Functions
b2_joint.h File Reference
#include "b2_api.h"
#include "b2_math.h"
Include dependency graph for b2_joint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  b2Jacobian
 
class  b2Joint
 
struct  b2JointDef
 Joint definitions are used to construct joints. More...
 
struct  b2JointEdge
 

Enumerations

enum  b2JointType {
  e_unknownJoint, e_revoluteJoint, e_prismaticJoint, e_distanceJoint,
  e_pulleyJoint, e_mouseJoint, e_gearJoint, e_wheelJoint,
  e_weldJoint, e_frictionJoint, e_ropeJoint, e_motorJoint
}
 

Functions

B2_API void b2AngularStiffness (float &stiffness, float &damping, float frequencyHertz, float dampingRatio, const b2Body *bodyA, const b2Body *bodyB)
 Utility to compute rotational stiffness values frequency and damping ratio. More...
 
B2_API void b2LinearStiffness (float &stiffness, float &damping, float frequencyHertz, float dampingRatio, const b2Body *bodyA, const b2Body *bodyB)
 Utility to compute linear stiffness values from frequency and damping ratio. More...
 

Enumeration Type Documentation

◆ b2JointType

Enumerator
e_unknownJoint 
e_revoluteJoint 
e_prismaticJoint 
e_distanceJoint 
e_pulleyJoint 
e_mouseJoint 
e_gearJoint 
e_wheelJoint 
e_weldJoint 
e_frictionJoint 
e_ropeJoint 
e_motorJoint 

Definition at line 35 of file b2_joint.h.

Function Documentation

◆ b2AngularStiffness()

B2_API void b2AngularStiffness ( float &  stiffness,
float &  damping,
float  frequencyHertz,
float  dampingRatio,
const b2Body bodyA,
const b2Body bodyB 
)

Utility to compute rotational stiffness values frequency and damping ratio.

Definition at line 65 of file b2_joint.cpp.

◆ b2LinearStiffness()

B2_API void b2LinearStiffness ( float &  stiffness,
float &  damping,
float  frequencyHertz,
float  dampingRatio,
const b2Body bodyA,
const b2Body bodyB 
)

Utility to compute linear stiffness values from frequency and damping ratio.

Definition at line 40 of file b2_joint.cpp.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22