com.annahid.libs.artenus.physics
            
    RevoluteJointDescriptor
Provides an implementation of 
JointDescriptor
 that describes a revolute joint. Revolute joints provide single-axis rotation function used in
 many places such as door hinges, folding mechanisms, and other uni-axial rotation devices.    public class RevoluteJointDescriptor extends JointDescriptor
Field Summary
| Modifier and Type | Field and Description | 
|---|---|
| public static final  | TYPEType identifier for a revolute joint. | 
Constructor Summary
| Modifier and Type | Constructor and Description | 
|---|---|
| public  | RevoluteJointDescriptor(PhysicalBody b1, PhysicalBody b2, Point2D anchor) Creates a RevoluteJointDescriptor between two bodies at the given anchor point. | 
Method Summary
Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitConstructor Detail
| RevoluteJointDescriptor | ||||||
|---|---|---|---|---|---|---|
| public  RevoluteJointDescriptor(
    PhysicalBody b1,
    PhysicalBody b2,
    Point2D anchor
)Creates a RevoluteJointDescriptor between two bodies at the given anchor point. The
 bodies will be "pinned" together at that point.Parameters: 
 |