-
- All Implemented Interfaces:
public abstract class Joint
Abstract class for joints holding all the common properties of joints.
-
-
Field Summary
Fields Modifier and Type Field Description private Vec2
object1AttachmentPoint
-
Method Summary
Modifier and Type Method Description final Vec2
getObject1AttachmentPoint()
final Unit
setObject1AttachmentPoint(Vec2 object1AttachmentPoint)
abstract Unit
applyTension()
Abstract method to apply tension to the joint abstract Double
calculateTension()
Abstract method to calculate tension between the joint abstract Double
rateOfChangeOfExtension()
Determines the rate of change between two objects/points. -
-
Method Detail
-
getObject1AttachmentPoint
final Vec2 getObject1AttachmentPoint()
-
setObject1AttachmentPoint
final Unit setObject1AttachmentPoint(Vec2 object1AttachmentPoint)
-
applyTension
abstract Unit applyTension()
Abstract method to apply tension to the joint
-
calculateTension
abstract Double calculateTension()
Abstract method to calculate tension between the joint
-
rateOfChangeOfExtension
abstract Double rateOfChangeOfExtension()
Determines the rate of change between two objects/points.
-
-
-
-