APIdia Launch Partner
Top Inners Fields Constructors Methods
com.badlogic.gdx.physics.bullet.dynamics

public Class btSolverConstraint

extends BulletBase
Class Inheritance
Imports
com.badlogic.gdx.physics.bullet.BulletBase, com.badlogic.gdx.physics.bullet.linearmath.*, com.badlogic.gdx.physics.bullet.collision.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private long
Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
classNamedestroyedswigCMemOwn

Constructor Summary

AccessConstructor and Description
protected
btSolverConstraint(final String className, long cPtr, boolean cMemoryOwn)

public
btSolverConstraint(long cPtr, boolean cMemoryOwn)

Construct a new btSolverConstraint, normally you should not need this constructor it's intended for low-level usage.

public

Method Summary

Modifier and TypeMethod and Description
protected synchronized void
delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates.

protected void
finalize()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

public btVector3
public btVector3
public float
public float
public float
public btVector3
public btVector3
public static long
public float
public int
public float
public float
public int
public long
public int
public btVector3
public btVector3
public float
public float
public int
public int
public float
public float
public void
operatorDelete(long ptr)

public void
operatorDelete(long arg0, long arg1)

public void
public void
operatorDeleteArray(long arg0, long arg1)

public long
operatorNew(long sizeInBytes)

public long
operatorNew(long arg0, long ptr)

public long
operatorNewArray(long sizeInBytes)

public long
operatorNewArray(long arg0, long ptr)

protected void
reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

public void
public void
public void
setAppliedImpulse(float value)

public void
setAppliedPushImpulse(float value)

public void
setCfm(float value)

public void
public void
public void
setFriction(float value)

public void
setFrictionIndex(int value)

public void
setJacDiagABInv(float value)

public void
setLowerLimit(float value)

public void
public void
public void
public void
public void
public void
setRhs(float value)

public void
setRhsPenetration(float value)

public void
setSolverBodyIdA(int value)

public void
setSolverBodyIdB(int value)

public void
setUnusedPadding4(float value)

public void
setUpperLimit(float value)

Inherited from com.badlogic.gdx.physics.bullet.BulletBase:
constructdestroydisposeequalsgetCPointerhashCodehasOwnershipisDisposedisObtainedobtainreleasereleaseOwnershiptakeOwnershiptoString

Field Detail

swigCPtrback to summary
private long swigCPtr

Constructor Detail

btSolverConstraintback to summary
protected btSolverConstraint(final String className, long cPtr, boolean cMemoryOwn)
btSolverConstraintback to summary
public btSolverConstraint(long cPtr, boolean cMemoryOwn)

Construct a new btSolverConstraint, normally you should not need this constructor it's intended for low-level usage.

btSolverConstraintback to summary
public btSolverConstraint()

Method Detail

deleteback to summary
protected synchronized void delete()

Overrides com.badlogic.gdx.physics.bullet.BulletBase.delete.

Doc from com.badlogic.gdx.physics.bullet.BulletBase.delete.

Deletes the bullet object this class encapsulates. Do not call directly, instead use the dispose() method.

Annotations
@Override
finalizeback to summary
protected void finalize() throws Throwable

Overrides com.badlogic.gdx.physics.bullet.BulletBase.finalize.

Doc from java.lang.Object.finalize.

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. A subclass overrides the finalize method to dispose of system resources or to perform other cleanup.

When running in a Java virtual machine in which finalization has been disabled or removed, the garbage collector will never call finalize(). In a Java virtual machine in which finalization is enabled, the garbage collector might call finalize only after an indefinite delay.

The general contract of finalize is that it is invoked if and when the Java virtual machine has determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, except as a result of an action taken by the finalization of some other object or class which is ready to be finalized. The finalize method may take any action, including making this object available again to other threads; the usual purpose of finalize, however, is to perform cleanup actions before the object is irrevocably discarded. For example, the finalize method for an object that represents an input/output connection might perform explicit I/O transactions to break the connection before the object is permanently discarded.

The finalize method of class Object performs no special action; it simply returns normally. Subclasses of Object may override this definition.

The Java programming language does not guarantee which thread will invoke the finalize method for any given object. It is guaranteed, however, that the thread that invokes finalize will not be holding any user-visible synchronization locks when finalize is invoked. If an uncaught exception is thrown by the finalize method, the exception is ignored and finalization of that object terminates.

After the finalize method has been invoked for an object, no further action is taken until the Java virtual machine has again determined that there is no longer any means by which this object can be accessed by any thread that has not yet died, including possible actions by other objects or classes which are ready to be finalized, at which point the object may be discarded.

The finalize method is never invoked more than once by a Java virtual machine for any given object.

Any exception thrown by the finalize method causes the finalization of this object to be halted, but is otherwise ignored.

Annotations
@Override
Exceptions
Throwable:
the Exception raised by this method
getAngularComponentAback to summary
public btVector3 getAngularComponentA()
getAngularComponentBback to summary
public btVector3 getAngularComponentB()
getAppliedImpulseback to summary
public float getAppliedImpulse()
getAppliedPushImpulseback to summary
public float getAppliedPushImpulse()
getCfmback to summary
public float getCfm()
getContactNormal1back to summary
public btVector3 getContactNormal1()
getContactNormal2back to summary
public btVector3 getContactNormal2()
getCPtrback to summary
public static long getCPtr(btSolverConstraint obj)
getFrictionback to summary
public float getFriction()
getFrictionIndexback to summary
public int getFrictionIndex()
getJacDiagABInvback to summary
public float getJacDiagABInv()
getLowerLimitback to summary
public float getLowerLimit()
getNumRowsForNonContactConstraintback to summary
public int getNumRowsForNonContactConstraint()
getOriginalContactPointback to summary
public long getOriginalContactPoint()
getOverrideNumSolverIterationsback to summary
public int getOverrideNumSolverIterations()
getRelpos1CrossNormalback to summary
public btVector3 getRelpos1CrossNormal()
getRelpos2CrossNormalback to summary
public btVector3 getRelpos2CrossNormal()
getRhsback to summary
public float getRhs()
getRhsPenetrationback to summary
public float getRhsPenetration()
getSolverBodyIdAback to summary
public int getSolverBodyIdA()
getSolverBodyIdBback to summary
public int getSolverBodyIdB()
getUnusedPadding4back to summary
public float getUnusedPadding4()
getUpperLimitback to summary
public float getUpperLimit()
operatorDeleteback to summary
public void operatorDelete(long ptr)
operatorDeleteback to summary
public void operatorDelete(long arg0, long arg1)
operatorDeleteArrayback to summary
public void operatorDeleteArray(long ptr)
operatorDeleteArrayback to summary
public void operatorDeleteArray(long arg0, long arg1)
operatorNewback to summary
public long operatorNew(long sizeInBytes)
operatorNewback to summary
public long operatorNew(long arg0, long ptr)
operatorNewArrayback to summary
public long operatorNewArray(long sizeInBytes)
operatorNewArrayback to summary
public long operatorNewArray(long arg0, long ptr)
resetback to summary
protected void reset(long cPtr, boolean cMemoryOwn)

Overrides com.badlogic.gdx.physics.bullet.BulletBase.reset.

Annotations
@Override
setAngularComponentAback to summary
public void setAngularComponentA(btVector3 value)
setAngularComponentBback to summary
public void setAngularComponentB(btVector3 value)
setAppliedImpulseback to summary
public void setAppliedImpulse(float value)
setAppliedPushImpulseback to summary
public void setAppliedPushImpulse(float value)
setCfmback to summary
public void setCfm(float value)
setContactNormal1back to summary
public void setContactNormal1(btVector3 value)
setContactNormal2back to summary
public void setContactNormal2(btVector3 value)
setFrictionback to summary
public void setFriction(float value)
setFrictionIndexback to summary
public void setFrictionIndex(int value)
setJacDiagABInvback to summary
public void setJacDiagABInv(float value)
setLowerLimitback to summary
public void setLowerLimit(float value)
setNumRowsForNonContactConstraintback to summary
public void setNumRowsForNonContactConstraint(int value)
setOriginalContactPointback to summary
public void setOriginalContactPoint(long value)
setOverrideNumSolverIterationsback to summary
public void setOverrideNumSolverIterations(int value)
setRelpos1CrossNormalback to summary
public void setRelpos1CrossNormal(btVector3 value)
setRelpos2CrossNormalback to summary
public void setRelpos2CrossNormal(btVector3 value)
setRhsback to summary
public void setRhs(float value)
setRhsPenetrationback to summary
public void setRhsPenetration(float value)
setSolverBodyIdAback to summary
public void setSolverBodyIdA(int value)
setSolverBodyIdBback to summary
public void setSolverBodyIdB(int value)
setUnusedPadding4back to summary
public void setUnusedPadding4(float value)
setUpperLimitback to summary
public void setUpperLimit(float value)
com.badlogic.gdx.physics.bullet.dynamics back to summary

public final Class btSolverConstraint.btSolverConstraintType

extends Object
Class Inheritance
  • java.lang.Object
  • com.badlogic.gdx.physics.bullet.dynamics.btSolverConstraint.btSolverConstraintType

Field Summary

Modifier and TypeField and Description
public static final int
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

BT_SOLVER_CONTACT_1Dback to summary
public static final int BT_SOLVER_CONTACT_1D
BT_SOLVER_FRICTION_1Dback to summary
public static final int BT_SOLVER_FRICTION_1D

Constructor Detail

btSolverConstraintTypeback to summary
public btSolverConstraintType()