Package repast.simphony.space.physics
Interface PhysicsSpace<T>
- Type Parameters:
T-
- All Superinterfaces:
Projection<T>
- All Known Implementing Classes:
ContextPhysics,DefaultPhysicsSpace
- Author:
- Eric Tatara
-
Method Summary
Modifier and TypeMethodDescriptionbooleanfloat[]float[]getLinearVelocity(T Object) intfloatcom.bulletphysics.linearmath.TransformgetTransformForObject(T object) voidsetGravity(float x, float y, float z) voidsetLinearVelocity(T object, float x, float y, float z) voidsetMaxSubSteps(int maxSubSteps) voidsetStepSize(float stepSize) voidstep()Manually step the physics space dynamicsMethods inherited from interface repast.simphony.space.projection.Projection
addProjectionListener, evaluate, getName, getProjectionListeners, removeProjectionListener
-
Method Details
-
step
void step()Manually step the physics space dynamics- Parameters:
timeStep-
-
getTransformForObject
-
addObject
-
setGravity
void setGravity(float x, float y, float z) -
getGravity
float[] getGravity() -
getStepSize
float getStepSize() -
setStepSize
void setStepSize(float stepSize) -
getMaxSubSteps
int getMaxSubSteps() -
setMaxSubSteps
void setMaxSubSteps(int maxSubSteps) -
setLinearVelocity
-
getLinearVelocity
-