public interface Contact extends X3DNode
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAppliedParameters()
Provide array of String enumeration results ['"BOUNCE"'|'"USER_FRICTION"'|'"FRICTION_COEFFICIENT-2"'|'"ERROR_REDUCTION"'|'"CONSTANT_FORCE"'|'"SPEED-1"'|'"SPEED-2"'|'"SLIP-1"'|'"SLIP-2"'|'"etc."'] from inputOutput MFString field named appliedParameters.
|
RigidBody |
getBody1()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body1.
|
RigidBody |
getBody2()
Provide RigidBody instance (using a properly typed node) from inputOutput SFNode field body2.
|
float |
getBounce()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named bounce.
|
float[] |
getContactNormal()
Provide array of 3-tuple float results from inputOutput SFVec3f field named contactNormal.
|
float |
getDepth()
Provide float value from inputOutput SFFloat field named depth.
|
float[] |
getFrictionCoefficients()
Provide array of 2-tuple float results within allowed range of [0,infinity) from inputOutput SFVec2f field named frictionCoefficients.
|
float[] |
getFrictionDirection()
Provide array of 3-tuple float results from inputOutput SFVec3f field named frictionDirection.
|
X3DNBodyCollidableNode |
getGeometry1()
Provide X3DNBodyCollidableNode instance (using a properly typed node) from inputOutput SFNode field geometry1.
|
X3DNBodyCollidableNode |
getGeometry2()
Provide X3DNBodyCollidableNode instance (using a properly typed node) from inputOutput SFNode field geometry2.
|
X3DMetadataObject |
getMetadata()
Provide X3DMetadataObject instance (using a properly typed node) from inputOutput SFNode field metadata.
|
float |
getMinBounceSpeed()
Provide float value within allowed range of [0,infinity) from inputOutput SFFloat field named minBounceSpeed.
|
float[] |
getPosition()
Provide array of 3-tuple float results from inputOutput SFVec3f field named position.
|
float[] |
getSlipCoefficients()
Provide array of 2-tuple float results from inputOutput SFVec2f field named slipCoefficients.
|
float |
getSoftnessConstantForceMix()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named softnessConstantForceMix.
|
float |
getSoftnessErrorCorrection()
Provide float value within allowed range of [0,1] from inputOutput SFFloat field named softnessErrorCorrection.
|
float[] |
getSurfaceSpeed()
Provide array of 2-tuple float results from inputOutput SFVec2f field named surfaceSpeed.
|
Contact |
setAppliedParameters(java.lang.String[] newValue)
Assign String enumeration array (""BOUNCE""|""USER_FRICTION""|""FRICTION_COEFFICIENT-2""|""ERROR_REDUCTION""|""CONSTANT_FORCE""|""SPEED-1""|""SPEED-2""|""SLIP-1""|""SLIP-2"") ['"BOUNCE"'|'"USER_FRICTION"'|'"FRICTION_COEFFICIENT-2"'|'"ERROR_REDUCTION"'|'"CONSTANT_FORCE"'|'"SPEED-1"'|'"SPEED-2"'|'"SLIP-1"'|'"SLIP-2"'|'"etc."'] to inputOutput MFString field named appliedParameters.
|
Contact |
setBody1(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body1.
|
Contact |
setBody2(RigidBody newValue)
Assign RigidBody instance (using a properly typed node) to inputOutput SFNode field body2.
|
Contact |
setBounce(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named bounce.
|
Contact |
setContactNormal(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named contactNormal.
|
Contact |
setCssClass(java.lang.String newValue)
Assign String value to inputOutput SFString field named class.
|
Contact |
setDEF(java.lang.String newValue)
Assign String value to inputOutput SFString field named DEF.
|
Contact |
setDepth(float newValue)
Assign float value to inputOutput SFFloat field named depth.
|
Contact |
setFrictionCoefficients(float[] newValue)
Assign 2-tuple float array within allowed range of [0,infinity) to inputOutput SFVec2f field named frictionCoefficients.
|
Contact |
setFrictionDirection(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named frictionDirection.
|
Contact |
setGeometry1(X3DNBodyCollidableNode newValue)
Assign X3DNBodyCollidableNode instance (using a properly typed node) to inputOutput SFNode field geometry1.
|
Contact |
setGeometry2(X3DNBodyCollidableNode newValue)
Assign X3DNBodyCollidableNode instance (using a properly typed node) to inputOutput SFNode field geometry2.
|
Contact |
setMetadata(X3DMetadataObject newValue)
Assign X3DMetadataObject instance (using a properly typed node) to inputOutput SFNode field metadata.
|
Contact |
setMinBounceSpeed(float newValue)
Assign float value within allowed range of [0,infinity) to inputOutput SFFloat field named minBounceSpeed.
|
Contact |
setPosition(float[] newValue)
Assign 3-tuple float array to inputOutput SFVec3f field named position.
|
Contact |
setSlipCoefficients(float[] newValue)
Assign 2-tuple float array to inputOutput SFVec2f field named slipCoefficients.
|
Contact |
setSoftnessConstantForceMix(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named softnessConstantForceMix.
|
Contact |
setSoftnessErrorCorrection(float newValue)
Assign float value within allowed range of [0,1] to inputOutput SFFloat field named softnessErrorCorrection.
|
Contact |
setSurfaceSpeed(float[] newValue)
Assign 2-tuple float array to inputOutput SFVec2f field named surfaceSpeed.
|
Contact |
setUSE(java.lang.String newValue)
Assign String value to inputOutput SFString field named USE.
|
java.lang.String[] getAppliedParameters()
Contact setAppliedParameters(java.lang.String[] newValue)
newValue - is new value for the appliedParameters field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody1()
Contact setBody1(RigidBody newValue)
newValue - is new value for the body1 field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).RigidBody getBody2()
Contact setBody2(RigidBody newValue)
newValue - is new value for the body2 field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getBounce()
Contact setBounce(float newValue)
newValue - is new value for the bounce field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getContactNormal()
Contact setContactNormal(float[] newValue)
newValue - is new value for the contactNormal field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getDepth()
Contact setDepth(float newValue)
newValue - is new value for the depth field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getFrictionCoefficients()
Contact setFrictionCoefficients(float[] newValue)
newValue - is new value for the frictionCoefficients field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getFrictionDirection()
Contact setFrictionDirection(float[] newValue)
newValue - is new value for the frictionDirection field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNBodyCollidableNode getGeometry1()
Contact setGeometry1(X3DNBodyCollidableNode newValue)
newValue - is new value for the geometry1 field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DNBodyCollidableNode getGeometry2()
Contact setGeometry2(X3DNBodyCollidableNode newValue)
newValue - is new value for the geometry2 field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).X3DMetadataObject getMetadata()
getMetadata in interface X3DNodeContact setMetadata(X3DMetadataObject newValue)
setMetadata in interface X3DNodenewValue - is new value for the metadata field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getMinBounceSpeed()
Contact setMinBounceSpeed(float newValue)
newValue - is new value for the minBounceSpeed field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getPosition()
Contact setPosition(float[] newValue)
newValue - is new value for the position field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getSlipCoefficients()
Contact setSlipCoefficients(float[] newValue)
newValue - is new value for the slipCoefficients field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getSoftnessConstantForceMix()
Contact setSoftnessConstantForceMix(float newValue)
newValue - is new value for the softnessConstantForceMix field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float getSoftnessErrorCorrection()
Contact setSoftnessErrorCorrection(float newValue)
newValue - is new value for the softnessErrorCorrection field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).float[] getSurfaceSpeed()
Contact setSurfaceSpeed(float[] newValue)
newValue - is new value for the surfaceSpeed field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Contact setDEF(java.lang.String newValue)
Contact setUSE(java.lang.String newValue)
USE node is still an independent object, with the USE value matching the DEF value in the preceding object.
setUSE() method on this node resets all other fields to their default values (except for containerField) and also releases all child nodes.Contact setCssClass(java.lang.String newValue)
setCssClass in interface X3DNodenewValue - is new value for the class field.Contact - namely this same object to allow sequential method pipelining (i.e. consecutive method invocations on the same object).Copyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.