Package org.robwork.sdurwsim
Class Constraint
- java.lang.Object
-
- org.robwork.sdurwsim.Constraint
-
public class Constraint extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConstraint.ConstraintTypestatic classConstraint.SpringParams
-
Constructor Summary
Constructors Constructor Description Constraint(long cPtr, boolean cMemoryOwn)Constraint(java.lang.String name, Constraint.ConstraintType type, Body b1, Body b2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete()BodygetBody1()BodygetBody2()static longgetCPtr(Constraint obj)longgetDOF()longgetDOFAngular()longgetDOFLinear()Constraint.SpringParamsgetSpringParams()Transform3DgetTransform()Constraint.ConstraintTypegetType()voidsetSpringParams(Constraint.SpringParams params)voidsetTransform(Transform3D parentTconstraint)
-
-
-
Constructor Detail
-
Constraint
public Constraint(long cPtr, boolean cMemoryOwn)
-
Constraint
public Constraint(java.lang.String name, Constraint.ConstraintType type, Body b1, Body b2)
-
-
Method Detail
-
getCPtr
public static long getCPtr(Constraint obj)
-
delete
public void delete()
-
getType
public Constraint.ConstraintType getType()
-
getBody1
public Body getBody1()
-
getBody2
public Body getBody2()
-
getDOF
public long getDOF()
-
getDOFLinear
public long getDOFLinear()
-
getDOFAngular
public long getDOFAngular()
-
getTransform
public Transform3D getTransform()
-
setTransform
public void setTransform(Transform3D parentTconstraint)
-
getSpringParams
public Constraint.SpringParams getSpringParams()
-
setSpringParams
public void setSpringParams(Constraint.SpringParams params)
-
-