Interface DoubleAxisHingeJoint
- All Superinterfaces:
X3DNode
,X3DRigidJointNode
- All Known Implementing Classes:
SAIDoubleAxisHingeJoint
,SAIDoubleAxisHingeJoint
Defines the requirements of an X3D DoubleAxisHingeJoint node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAnchorPoint
(float[] val) Return the anchorPoint value in the argument float[]void
getAxis1
(float[] val) Return the axis1 value in the argument float[]void
getAxis2
(float[] val) Return the axis2 value in the argument float[]void
getBody1AnchorPoint
(float[] val) Return the body1AnchorPoint value in the argument float[]void
getBody1Axis
(float[] val) Return the body1Axis value in the argument float[]void
getBody2AnchorPoint
(float[] val) Return the body2AnchorPoint value in the argument float[]void
getBody2Axis
(float[] val) Return the body2Axis value in the argument float[]float
Return the desiredAngularVelocity1 float value.float
Return the desiredAngularVelocity2 float value.float
Return the hinge1Angle float value.float
Return the hinge1AngleRate float value.float
Return the hinge2Angle float value.float
Return the hinge2AngleRate float value.float
Return the maxAngle1 float value.float
Return the maxTorque1 float value.float
Return the maxTorque2 float value.float
Return the minAngle1 float value.void
getMustOutput
(String[] val) Return the mustOutput value in the argument String[]int
Return the number of MFString items in the mustOutput field.float
Return the stopBounce1 float value.float
Return the stopConstantForceMix1 float value.float
Return the stopErrorCorrection1 float value.float
Return the suspensionErrorCorrection float value.float
Return the suspensionForce float value.void
setAnchorPoint
(float[] val) Set the anchorPoint field.void
setAxis1
(float[] val) Set the axis1 field.void
setAxis2
(float[] val) Set the axis2 field.void
setDesiredAngularVelocity1
(float val) Set the desiredAngularVelocity1 field.void
setDesiredAngularVelocity2
(float val) Set the desiredAngularVelocity2 field.void
setMaxAngle1
(float val) Set the maxAngle1 field.void
setMaxTorque1
(float val) Set the maxTorque1 field.void
setMaxTorque2
(float val) Set the maxTorque2 field.void
setMinAngle1
(float val) Set the minAngle1 field.void
setMustOutput
(String[] val) Set the mustOutput field.void
setStopBounce1
(float val) Set the stopBounce1 field.void
setStopConstantForceMix1
(float val) Set the stopConstantForceMix1 field.void
setStopErrorCorrection1
(float val) Set the stopErrorCorrection1 field.void
setSuspensionErrorCorrection
(float val) Set the suspensionErrorCorrection field.void
setSuspensionForce
(float val) Set the suspensionForce field.Methods inherited from interface org.web3d.x3d.sai.X3DNode
dispose, getField, getFieldDefinitions, getMetadata, getNodeName, getNodeType, isRealized, realize, setMetadata
Methods inherited from interface org.web3d.x3d.sai.X3DRigidJointNode
getBody1, getBody2, getForceOutput, getNumForceOutput, setBody1, setBody2, setForceOutput
-
Method Details
-
getNumMustOutput
int getNumMustOutput()Return the number of MFString items in the mustOutput field.- Returns:
- the number of MFString items in the mustOutput field.
-
getMustOutput
Return the mustOutput value in the argument String[]- Parameters:
val
- The String[] to initialize.
-
setMustOutput
-
getAnchorPoint
void getAnchorPoint(float[] val) Return the anchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAnchorPoint
void setAnchorPoint(float[] val) Set the anchorPoint field.- Parameters:
val
- The float[] to set.
-
getAxis1
void getAxis1(float[] val) Return the axis1 value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAxis1
void setAxis1(float[] val) Set the axis1 field.- Parameters:
val
- The float[] to set.
-
getAxis2
void getAxis2(float[] val) Return the axis2 value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAxis2
void setAxis2(float[] val) Set the axis2 field.- Parameters:
val
- The float[] to set.
-
getBody1AnchorPoint
void getBody1AnchorPoint(float[] val) Return the body1AnchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getBody2AnchorPoint
void getBody2AnchorPoint(float[] val) Return the body2AnchorPoint value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getDesiredAngularVelocity1
float getDesiredAngularVelocity1()Return the desiredAngularVelocity1 float value.- Returns:
- The desiredAngularVelocity1 float value.
-
setDesiredAngularVelocity1
void setDesiredAngularVelocity1(float val) Set the desiredAngularVelocity1 field.- Parameters:
val
- The float to set.
-
getDesiredAngularVelocity2
float getDesiredAngularVelocity2()Return the desiredAngularVelocity2 float value.- Returns:
- The desiredAngularVelocity2 float value.
-
setDesiredAngularVelocity2
void setDesiredAngularVelocity2(float val) Set the desiredAngularVelocity2 field.- Parameters:
val
- The float to set.
-
getBody1Axis
void getBody1Axis(float[] val) Return the body1Axis value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getBody2Axis
void getBody2Axis(float[] val) Return the body2Axis value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
getMinAngle1
float getMinAngle1()Return the minAngle1 float value.- Returns:
- The minAngle1 float value.
-
setMinAngle1
void setMinAngle1(float val) Set the minAngle1 field.- Parameters:
val
- The float to set.
-
getMaxAngle1
float getMaxAngle1()Return the maxAngle1 float value.- Returns:
- The maxAngle1 float value.
-
setMaxAngle1
void setMaxAngle1(float val) Set the maxAngle1 field.- Parameters:
val
- The float to set.
-
getMaxTorque1
float getMaxTorque1()Return the maxTorque1 float value.- Returns:
- The maxTorque1 float value.
-
setMaxTorque1
void setMaxTorque1(float val) Set the maxTorque1 field.- Parameters:
val
- The float to set.
-
getMaxTorque2
float getMaxTorque2()Return the maxTorque2 float value.- Returns:
- The maxTorque2 float value.
-
setMaxTorque2
void setMaxTorque2(float val) Set the maxTorque2 field.- Parameters:
val
- The float to set.
-
getHinge1Angle
float getHinge1Angle()Return the hinge1Angle float value.- Returns:
- The hinge1Angle float value.
-
getHinge2Angle
float getHinge2Angle()Return the hinge2Angle float value.- Returns:
- The hinge2Angle float value.
-
getHinge1AngleRate
float getHinge1AngleRate()Return the hinge1AngleRate float value.- Returns:
- The hinge1AngleRate float value.
-
getHinge2AngleRate
float getHinge2AngleRate()Return the hinge2AngleRate float value.- Returns:
- The hinge2AngleRate float value.
-
getStopBounce1
float getStopBounce1()Return the stopBounce1 float value.- Returns:
- The stopBounce1 float value.
-
setStopBounce1
void setStopBounce1(float val) Set the stopBounce1 field.- Parameters:
val
- The float to set.
-
getStopErrorCorrection1
float getStopErrorCorrection1()Return the stopErrorCorrection1 float value.- Returns:
- The stopErrorCorrection1 float value.
-
setStopErrorCorrection1
void setStopErrorCorrection1(float val) Set the stopErrorCorrection1 field.- Parameters:
val
- The float to set.
-
getStopConstantForceMix1
float getStopConstantForceMix1()Return the stopConstantForceMix1 float value.- Returns:
- The stopConstantForceMix1 float value.
-
setStopConstantForceMix1
void setStopConstantForceMix1(float val) Set the stopConstantForceMix1 field.- Parameters:
val
- The float to set.
-
getSuspensionForce
float getSuspensionForce()Return the suspensionForce float value.- Returns:
- The suspensionForce float value.
-
setSuspensionForce
void setSuspensionForce(float val) Set the suspensionForce field.- Parameters:
val
- The float to set.
-
getSuspensionErrorCorrection
float getSuspensionErrorCorrection()Return the suspensionErrorCorrection float value.- Returns:
- The suspensionErrorCorrection float value.
-
setSuspensionErrorCorrection
void setSuspensionErrorCorrection(float val) Set the suspensionErrorCorrection field.- Parameters:
val
- The float to set.
-