Interface SingleAxisHingeJoint
- All Superinterfaces:
X3DNode
,X3DRigidJointNode
- All Known Implementing Classes:
SAISingleAxisHingeJoint
,SAISingleAxisHingeJoint
Defines the requirements of an X3D SingleAxisHingeJoint node
- Version:
- $Revision: 1.1 $
- Author:
- Rex Melton
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getAnchorPoint
(float[] val) Return the anchorPoint value in the argument float[]float
getAngle()
Return the angle float value.float
Return the angleRate float value.void
getAxis
(float[] val) Return the Axis value in the argument float[]void
getBody1AnchorPoint
(float[] val) Return the body1AnchorPoint value in the argument float[]void
getBody2AnchorPoint
(float[] val) Return the body2AnchorPoint value in the argument float[]float
Return the maxAngle float value.float
Return the minAngle float value.float
Return the stopBounce float value.float
Return the stopErrorCorrection float value.void
setAnchorPoint
(float[] val) Set the anchorPoint field.void
setAxis
(float[] val) Set the Axis field.void
setMaxAngle
(float val) Set the maxAngle field.void
setMinAngle
(float val) Set the minAngle field.void
setStopBounce
(float val) Set the stopBounce field.void
setStopErrorCorrection
(float val) Set the stopErrorCorrection 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
-
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.
-
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.
-
getAxis
void getAxis(float[] val) Return the Axis value in the argument float[]- Parameters:
val
- The float[] to initialize.
-
setAxis
void setAxis(float[] val) Set the Axis field.- Parameters:
val
- The float[] to set.
-
getMinAngle
float getMinAngle()Return the minAngle float value.- Returns:
- The minAngle float value.
-
setMinAngle
void setMinAngle(float val) Set the minAngle field.- Parameters:
val
- The float to set.
-
getMaxAngle
float getMaxAngle()Return the maxAngle float value.- Returns:
- The maxAngle float value.
-
setMaxAngle
void setMaxAngle(float val) Set the maxAngle field.- Parameters:
val
- The float to set.
-
getAngle
float getAngle()Return the angle float value.- Returns:
- The angle float value.
-
getAngleRate
float getAngleRate()Return the angleRate float value.- Returns:
- The angleRate float value.
-
getStopBounce
float getStopBounce()Return the stopBounce float value.- Returns:
- The stopBounce float value.
-
setStopBounce
void setStopBounce(float val) Set the stopBounce field.- Parameters:
val
- The float to set.
-
getStopErrorCorrection
float getStopErrorCorrection()Return the stopErrorCorrection float value.- Returns:
- The stopErrorCorrection float value.
-
setStopErrorCorrection
void setStopErrorCorrection(float val) Set the stopErrorCorrection field.- Parameters:
val
- The float to set.
-