public class Point extends DynamicComponentBase implements TransformableGeometry, ScalableUnits, DynamicComponent, Traceable, MotionTargetComponent, CopyableComponent, CollidableDynamicComponent
| Modifier and Type | Field and Description |
|---|---|
static PropertyList |
myProps |
float[] |
myRenderCoords |
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesCOPY_REFERENCES, REST_POSITIONTG_ARTICULATED, TG_DRAGGER, TG_PRESERVE_ORIENTATION, TG_SIMULATINGTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
Point() |
Point(Point3d pnt) |
Point(java.lang.String name,
Point3d pnt) |
| Modifier and Type | Method and Description |
|---|---|
void |
addEffectiveMass(double m) |
void |
addExternalForce(Vector3d f) |
int |
addForce(double[] f,
int idx) |
void |
addForce(Vector3d f) |
void |
addPosImpulse(double[] xbuf,
int xidx,
double h,
double[] vbuf,
int vidx) |
void |
addPosJacobian(SparseNumberedBlockMatrix S,
double s)
Scales the components of the position Jacobian associated with this force
effector and adds it to the supplied solve matrix M.
|
void |
addScaledExternalForce(double s,
Vector3d f) |
void |
addScaledForce(double s,
Vector3d f) |
void |
addSolveBlock(SparseNumberedBlockMatrix S) |
void |
addSolveBlocks(SparseNumberedBlockMatrix S)
Adds any needed blocks to a solve matrix in order to accomodate the
Jacobian terms associated with this force effector.
|
int |
addTargetJacobian(SparseBlockMatrix J,
int bi)
Add a row to the motion target Jacobian for this motion target.
|
void |
addToPointVelocity(Vector3d vel,
double w,
ContactPoint cpnt)
Computes the velocity imparted to a contact point by this component's
current velocity, multiples it by a weighting factor
w,
and add it to vel. |
void |
addToSolveBlockDiagonal(SparseNumberedBlockMatrix S,
double d) |
void |
addTransformableDependencies(TransformGeometryContext context,
int flags)
Adds to
context any transformable components which should be
transformed as the same time as this component. |
void |
addVelJacobian(SparseNumberedBlockMatrix S,
double s)
Scales the components of the velocity Jacobian associated with this force
effector and adds it to the supplied solve matrix M.
|
void |
applyExternalForces() |
void |
applyForces(double t)
Adds forces to the components affected by this force effector at a
particular time.
|
void |
applyGravity(Vector3d gacc)
Applies a gravity force to this component, given a prescribed
gravity acceleration vector.
|
Point |
copy(int flags,
java.util.Map<ModelComponent,ModelComponent> copyMap)
Create a copy of this component.
|
MatrixBlock |
createMassBlock()
Create a matrix block for representing the mass of this component,
initialized to the component's effective mass (instrinsic mass
plus the mass due to all attachmented components).
|
RenderProps |
createRenderProps()
Factory method to create render properties appropriate to this object.
|
MatrixBlock |
createSolveBlock() |
boolean |
defaultRenderPropsAreNull() |
double |
distance(Point pnt) |
double |
distance(Point3d pos) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
boolean |
getCopyReferences(java.util.List<ModelComponent> refs,
ModelComponent ancestor)
Collects external references which must also be copied in order to
duplicate this component.
|
double |
getEffectiveMass()
Gets the effective scalar mass of this component.
|
void |
getEffectiveMass(Matrix M,
double t)
Gets the effective mass of this component at a particular time.
|
int |
getEffectiveMassForces(VectorNd f,
double t,
int idx)
Gets the mass forces for this component at a particular time.
|
Vector3d |
getExternalForce() |
Vector3d |
getForce() |
int |
getForce(double[] f,
int idx) |
int |
getJacobianType()
Returns a code indicating the matrix type that results when the Jacobian
terms of this force effector are added to the solve matrix.
|
double |
getMass(double t)
Returns the scalar mass of this component at time t.
|
void |
getMass(Matrix M,
double t)
Gets the mass of this component at a particular time.
|
double |
getPointDamping() |
PropertyMode |
getPointDampingMode() |
int |
getPosDerivative(double[] dxdt,
int idx) |
Point3d |
getPosition()
Returns the current position of this point, in world coordinates.
|
void |
getPosition(Point3d pos) |
int |
getPosState(double[] x,
int idx) |
int |
getPosStateSize() |
float[] |
getRenderCoords()
Returns the cached copy of this point's position coordinates
that should be used for rendering.
|
RenderProps |
getRenderProps()
Returns the render properities for this object.
|
void |
getSelection(java.util.LinkedList<java.lang.Object> list,
int qid)
Append to
list the component (or components) associated with
the qid-th selection query issued by this component's render
method. |
void |
getState(DataBuffer data)
Saves state information for this component by adding data to the
supplied DataBuffer.
|
MotionTarget.TargetActivity |
getTargetActivity() |
int |
getTargetPos(double[] post,
double s,
double h,
int idx) |
Point3d |
getTargetPosition() |
int |
getTargetVel(double[] velt,
double s,
double h,
int idx) |
Vector3d |
getTargetVelocity() |
java.lang.String |
getTraceablePositionProperty(java.lang.String traceableName)
For a given traceable property, returns the name of a property (if any)
which provides a reference position to be used for the traceable property.
|
java.lang.String[] |
getTraceables()
Returns a list of all traceable properties in this Traceable.
|
Vector3d |
getVelocity() |
void |
getVelocity(Vector3d vel) |
int |
getVelState(double[] v,
int idx) |
int |
getVelStateSize() |
boolean |
hasForce()
Queries whether or not this component actually exerts its own
state-dependent forces (typically associated with damping).
|
boolean |
isDuplicatable()
Returns true if this component can be duplicated.
|
boolean |
isMassConstant() |
boolean |
isSelectable()
Returns true if this object is in fact selectable.
|
int |
mulInverseEffectiveMass(Matrix M,
double[] a,
double[] f,
int idx) |
void |
prerender(RenderList list)
Called prior to rendering to allow this object to update the internal
state required for rendering (such as by caching rendering coordinates).
|
void |
render(Renderer renderer,
int flags)
Render this object using the functionality of the supplied
Renderer. |
void |
resetEffectiveMass()
Resets the effective mass of this component to the nominal mass.
|
void |
resetTargets() |
void |
scaleDistance(double s)
Scales all distance coordinates.
|
void |
scaleMass(double s)
Scales all mass units.
|
void |
setContactConstraint(double[] buf,
double w,
Vector3d dir,
ContactPoint cpnt)
Computes the values for the block matrix which defines this component's
contribution to a contact constraint matrix.
|
void |
setExternalForce(Vector3d f) |
int |
setForce(double[] f,
int idx) |
void |
setForce(Vector3d f) |
void |
setPointDamping(double d) |
void |
setPointDampingMode(PropertyMode mode) |
void |
setPosition(double x,
double y,
double z) |
void |
setPosition(Point3d p) |
int |
setPosState(double[] p,
int idx) |
void |
setRandomForce()
Sets the force of this component to a random value.
|
void |
setRandomPosState()
Sets the position state of this component to a random value.
|
void |
setRandomVelState()
Sets the velocity state of this component to a random value.
|
void |
setRenderProps(RenderProps props)
Assigns a new set of render properties to this object.
|
void |
setScaledExternalForce(double s,
Vector3d f) |
void |
setState(DataBuffer data)
Restores the state for this component by reading from the supplied
data buffer, starting at the current buffer offsets.
|
void |
setState(Point point) |
void |
setTargetActivity(MotionTarget.TargetActivity activity) |
int |
setTargetPos(double[] post,
int idx) |
void |
setTargetPosition(Point3d pos) |
int |
setTargetVel(double[] velt,
int idx) |
void |
setTargetVelocity(Vector3d vel) |
void |
setVelocity(double x,
double y,
double z) |
void |
setVelocity(Vector3d vel) |
int |
setVelState(double[] v,
int idx) |
void |
subForce(Vector3d f) |
void |
transformGeometry(GeometryTransformer gtr,
TransformGeometryContext context,
int flags)
Transforms the geometry of this component, using the geometry transformer
gtr to transform its individual attributes. |
void |
updateBounds(Vector3d pmin,
Vector3d pmax)
Update the minimum and maximum points for this object.
|
void |
updatePosState() |
void |
updateVelState() |
boolean |
velocityLimitExceeded(double tlimit,
double rlimit)
Checks if the current component velocity exceeds specified limits.
|
void |
zeroExternalForces() |
void |
zeroForces() |
addAttachmentRequest, addConstrainer, addMasterAttachment, connectToHierarchy, disconnectFromHierarchy, getAttachment, getConstrainers, getInverseMass, getMasterAttachments, getSolveIndex, hasState, isActive, isAttached, isControllable, isDynamic, isParametric, removeAttachmentRequest, removeConstrainer, removeMasterAttachment, setAttached, setSolveIndex, transformGeometrygetRenderHints, isVisible, numSelectionQueriesNeeded, setVisible, updateRenderPropscheckFlag, checkName, checkNameUniqueness, clearFlag, clone, createTempFlag, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasChildren, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, postscan, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddAttachmentRequest, removeAttachmentRequestaddConstrainer, addMasterAttachment, getAttachment, getConstrainers, getInverseMass, getMasterAttachments, getSolveIndex, isActive, isAttached, isControllable, isDynamic, isParametric, removeConstrainer, removeMasterAttachment, setAttached, setSolveIndexadvanceState, getAuxVarDerivative, getAuxVarState, getStateVersion, hasState, numAuxVars, requiresAdvance, setAuxVarStatetransformGeometry, transformPrioritypublic float[] myRenderCoords
public static PropertyList myProps
public Point()
public Point(Point3d pnt)
public Point(java.lang.String name,
Point3d pnt)
public PropertyList getAllPropertyInfo()
HasPropertiesgetAllPropertyInfo in interface HasPropertiesgetAllPropertyInfo in class RenderableComponentBasepublic Vector3d getForce()
public void setForce(Vector3d f)
public void addForce(Vector3d f)
public void addScaledForce(double s,
Vector3d f)
public void subForce(Vector3d f)
public void zeroForces()
zeroForces in interface DynamicAgentpublic void applyExternalForces()
applyExternalForces in interface DynamicAgentpublic void addExternalForce(Vector3d f)
public void addScaledExternalForce(double s,
Vector3d f)
public Vector3d getExternalForce()
public void setExternalForce(Vector3d f)
public void zeroExternalForces()
zeroExternalForces in interface DynamicAgentpublic void setScaledExternalForce(double s,
Vector3d f)
public void applyForces(double t)
ForceEffectorapplyForces in interface ForceEffectort - time (seconds)public void addVelJacobian(SparseNumberedBlockMatrix S, double s)
ForceEffector
M is guaranteed to be the same matrix supplied in the most recent call to
addSolveBlocks, and so implementations may choose
to cache the relevant matrix blocks from that call, instead of retrieving
them directly from M.
addVelJacobian in interface ForceEffectorS - solve matrix to which scaled velocity Jacobian is to be addeds - scaling factor for velocity Jacobianpublic void addPosJacobian(SparseNumberedBlockMatrix S, double s)
ForceEffector
M is guaranteed to be the same matrix supplied in the most recent call to
addSolveBlocks, and so implementations may choose
to cache the relevant matrix blocks from that call, instead of retrieving
them directly from M.
addPosJacobian in interface ForceEffectorS - solve matrix to which scaled position Jacobian is to be addeds - scaling factor for position Jacobianpublic void addSolveBlocks(SparseNumberedBlockMatrix S)
ForceEffectorgetSolveIndex) for all dynamic or attached components affected by this
force effector.addSolveBlocks in interface ForceEffectorS - solve matrix to which blocks should be addedpublic int getJacobianType()
ForceEffectorMatrix.SYMMETRIC or Matrix.POSITIVE_DEFINITE. The former should be set if adding the Jacobian
terms preserves symmetry, and the latter should be set if positive
definiteness if preserved. Both should be set if there is no Jacobian for
this effector (i.e., the Jacobian methods are not implemented). Matrix
types from all the force effectors are logically and-ed together to
determine the type for the entire solve matrix.getJacobianType in interface ForceEffectorpublic Point3d getPosition()
public void getPosition(Point3d pos)
public void setPosition(Point3d p)
public void setPosition(double x,
double y,
double z)
public double distance(Point pnt)
public double distance(Point3d pos)
public int getPosState(double[] x,
int idx)
getPosState in interface DynamicAgentpublic int setPosState(double[] p,
int idx)
setPosState in interface DynamicAgentpublic void addPosImpulse(double[] xbuf,
int xidx,
double h,
double[] vbuf,
int vidx)
addPosImpulse in interface DynamicAgentpublic int getPosDerivative(double[] dxdt,
int idx)
getPosDerivative in interface DynamicAgentpublic Vector3d getVelocity()
public void getVelocity(Vector3d vel)
public void setVelocity(Vector3d vel)
public void setVelocity(double x,
double y,
double z)
public int getVelState(double[] v,
int idx)
getVelState in interface DynamicAgentpublic int setVelState(double[] v,
int idx)
setVelState in interface DynamicAgentpublic int setForce(double[] f,
int idx)
setForce in interface DynamicAgentpublic int addForce(double[] f,
int idx)
addForce in interface DynamicAgentpublic int getForce(double[] f,
int idx)
getForce in interface DynamicAgentpublic void resetTargets()
resetTargets in interface MotionTargetComponentpublic MotionTarget.TargetActivity getTargetActivity()
getTargetActivity in interface MotionTargetComponentpublic void setTargetActivity(MotionTarget.TargetActivity activity)
setTargetActivity in interface MotionTargetComponentpublic Point3d getTargetPosition()
public void setTargetPosition(Point3d pos)
public Vector3d getTargetVelocity()
public void setTargetVelocity(Vector3d vel)
public int getTargetVel(double[] velt,
double s,
double h,
int idx)
getTargetVel in interface MotionTargetComponentpublic int setTargetVel(double[] velt,
int idx)
public int getTargetPos(double[] post,
double s,
double h,
int idx)
getTargetPos in interface MotionTargetComponentpublic int setTargetPos(double[] post,
int idx)
public int addTargetJacobian(SparseBlockMatrix J, int bi)
vt = J u
addTargetJacobian in interface MotionTargetComponentJ - motion target Jacobianbi - block row index for the row to be addedpublic double getPointDamping()
public void setPointDamping(double d)
public PropertyMode getPointDampingMode()
public void setPointDampingMode(PropertyMode mode)
public boolean hasForce()
DynamicAgentAny action that alters the return value of this method should
propagate a StructureChangeEvent. This can be
a state-not-changed event if component's state structure
is not altered (which it typically won't be).
hasForce in interface DynamicAgenttrue if this component exerts its own forces.public void applyGravity(Vector3d gacc)
applyGravity in interface DynamicAgentpublic float[] getRenderCoords()
public void setRenderProps(RenderProps props)
HasRenderPropsnull will remove render properties from this object.setRenderProps in interface HasRenderPropssetRenderProps in class RenderableComponentBaseprops - new render properties for this objectpublic RenderProps getRenderProps()
HasRenderPropsgetRenderProps in interface HasRenderPropsgetRenderProps in class RenderableComponentBasepublic RenderProps createRenderProps()
HasRenderPropscreateRenderProps in interface HasRenderPropscreateRenderProps in class RenderableComponentBasepublic java.lang.String[] getTraceables()
getTraceables in interface Traceablepublic java.lang.String getTraceablePositionProperty(java.lang.String traceableName)
+ or
- character, which is used to control the rendering
of the tracing probe in case the traceable property is a 3-vector.
A prepended + character means that the vector will
be rendered starting at, and directed away from the reference
position (or render as pull), while a + character
means that the vector will be rendered starting away from, and
directed into the reference position (or render as push).getTraceablePositionProperty in interface Traceablenull.public boolean defaultRenderPropsAreNull()
defaultRenderPropsAreNull in class RenderableComponentBasepublic void prerender(RenderList list)
IsRenderablelist.addIfVisible (obj);
for each of the objects in question.prerender in interface IsRenderableprerender in class RenderableComponentBaselist - list of objects to be renderedpublic void updateBounds(Vector3d pmin, Vector3d pmax)
IsRenderableupdateBounds in interface IsRenderableupdateBounds in class RenderableComponentBasepmin - minimum pointpmax - maximum pointpublic boolean isSelectable()
RenderableComponentBaseisSelectable in interface IsSelectableisSelectable in class RenderableComponentBasepublic void render(Renderer renderer, int flags)
IsRenderableRenderer.render in interface IsRenderablerender in class RenderableComponentBaserenderer - provides the functionality used to perform the rendering.flags - flags that may be used to control different
aspects of the rendering. Flags are defined in Renderer
and currently include
Renderer.HIGHLIGHT and
Renderer.SORT_FACES.public void getSelection(java.util.LinkedList<java.lang.Object> list,
int qid)
IsSelectablelist the component (or components) associated with
the qid-th selection query issued by this component's render
method. This will only be called if this component manages its own
selection (i.e., the number nums returned by IsSelectable.numSelectionQueriesNeeded() is positive), and qid will in
turn be a number between 0 and nums-1.getSelection in interface IsSelectablegetSelection in class RenderableComponentBaselist - selected objects are appended to the end of this listqid - index of the selection querypublic void scaleDistance(double s)
ScalableUnitsscaleDistance in interface ScalableUnitss - scaling factorpublic void scaleMass(double s)
ScalableUnitsscaleMass in interface ScalableUnitss - scaling factorpublic void transformGeometry(GeometryTransformer gtr, TransformGeometryContext context, int flags)
TransformableGeometrygtr to transform its individual attributes. The
context argument supplies information about what other
components are currently being transformed, and also allows the
requesting of update actions to be performed after all transform called
have completed. The context is also the usual entity that calls
this method, from within its TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int)
method. The argument flags provides flags to specify
various conditions associated with the the transformation.
At present, the available flags are TransformableGeometry.TG_SIMULATING and
TransformableGeometry.TG_ARTICULATED.
This method is not usually called directly by applications.
Instead, it is typically called from within the
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int) method of the context,
which takes care of the various operations needed for a
complete transform operation, including calling
TransformableGeometry.addTransformableDependencies(artisynth.core.modelbase.TransformGeometryContext, int) to collect other
components that should be transformed, calling
TransformableGeometry.transformGeometry(maspack.matrix.AffineTransform3dBase) for each component, notifying
component parents that the geometry has changed, and calling
any requested TransformGeometryActions. More details
are given in the documentation for
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int).
TransformGeometryContext provides a number of
static convenience transform methods
which take care of building the context and calling
apply() for a specified set of components.
This method should not
generally call transformGeometry() for its descendant
components. Instead, descendants needing transformation should be
specified by adding them to the context in the method TransformableGeometry.addTransformableDependencies(artisynth.core.modelbase.TransformGeometryContext, int).
transformGeometry in interface TransformableGeometrytransformGeometry in class DynamicComponentBasegtr - transformer implementing the transformcontext - context information, including what other components
are being transformedflags - specifies conditions associated with the transformationpublic void addTransformableDependencies(TransformGeometryContext context, int flags)
TransformableGeometrycontext any transformable components which should be
transformed as the same time as this component. This will generally
include descendant components, and may also include other components to
which this component is connected in some way.
This method is generally called from with the
TransformGeometryContext.apply(maspack.geometry.GeometryTransformer, int) method of a
TransformGeometryContext.
addTransformableDependencies in interface TransformableGeometryaddTransformableDependencies in class DynamicComponentBasecontext - context information, to which the dependent components
are added.flags - specifies conditions associated with the transformationpublic MatrixBlock createMassBlock()
DynamicAgentcreateMassBlock in interface DynamicAgentpublic boolean isMassConstant()
isMassConstant in interface DynamicAgentpublic double getMass(double t)
DynamicAgentgetMass in interface DynamicAgentpublic void getMass(Matrix M, double t)
DynamicAgentgetMass in interface DynamicAgentM - matrix to return the mass int - current timepublic double getEffectiveMass()
DynamicAgentgetEffectiveMass in interface DynamicAgentpublic void getEffectiveMass(Matrix M, double t)
DynamicAgentgetEffectiveMass in interface DynamicAgentM - matrix to return the mass int - current timepublic int mulInverseEffectiveMass(Matrix M, double[] a, double[] f, int idx)
mulInverseEffectiveMass in interface DynamicAgentpublic int getEffectiveMassForces(VectorNd f, double t, int idx)
DynamicAgentf, starting at the location
specified by idx. Upon return, this method should
return the value of idx incremented by the dimension
of the mass forces.getEffectiveMassForces in interface DynamicAgentf - vector to return the forces int - current timeidx - starting location within f
where forces should be storedidxpublic void resetEffectiveMass()
DynamicAgentresetEffectiveMass in interface DynamicAgentpublic void addEffectiveMass(double m)
public void addSolveBlock(SparseNumberedBlockMatrix S)
addSolveBlock in interface DynamicAgentaddSolveBlock in class DynamicComponentBasepublic MatrixBlock createSolveBlock()
public void setState(Point point)
public void addToSolveBlockDiagonal(SparseNumberedBlockMatrix S, double d)
public boolean velocityLimitExceeded(double tlimit,
double rlimit)
velocityLimitExceeded in interface DynamicAgenttlimit - translational velocity limitrlimit - rotational velocity limitpublic boolean isDuplicatable()
true if and only if CopyableComponent.getCopyReferences(java.util.List<artisynth.core.modelbase.ModelComponent>, artisynth.core.modelbase.ModelComponent) returns true.
This method is not currently used. It is intended to provide a faster
way of determining if a component can be duplicated, without having to
use CopyableComponent.getCopyReferences(java.util.List<artisynth.core.modelbase.ModelComponent>, artisynth.core.modelbase.ModelComponent) to build the list of copy references.
isDuplicatable in interface CopyableComponenttrue if this component can be duplicated.public boolean getCopyReferences(java.util.List<ModelComponent> refs, ModelComponent ancestor)
true if and only if CopyableComponent.isDuplicatable() returns
true.getCopyReferences in interface CopyableComponentrefs - list to which references are appendedancestor - root node of the hierarchy from which references are to be excludedpublic Point copy(int flags, java.util.Map<ModelComponent,ModelComponent> copyMap)
CopyableComponentCOPY_REFERENCES
is set in flags, then any component referenced
by this component should itself be set to a copy. This
should be done first checking copyMap for an
existing copy of the referenced component. If there is no existing
copy, then a copy should be created by calling copy
recursively and adding the new copy to copyMap.copy in interface CopyableComponentcopy in class DynamicComponentBaseflags - flags to control the copyingcopyMap - map to possible existing instances of referenced
componentspublic int getVelStateSize()
getVelStateSize in interface DynamicAgentgetVelStateSize in interface MotionTargetComponentpublic int getPosStateSize()
getPosStateSize in interface DynamicAgentgetPosStateSize in interface MotionTargetComponentpublic void setContactConstraint(double[] buf,
double w,
Vector3d dir,
ContactPoint cpnt)
CollidableDynamicComponentn is the component's velocity state size, and the contact is
defined by a direction dir and a point cpnt.
The computed values should be scaled by a weighting factor
w.setContactConstraint in interface CollidableDynamicComponentbuf - returns the n values for the block matrixw - weighting factor by which the values should be scaleddir - contact direction (world coordinates)cpnt - contact pointpublic void addToPointVelocity(Vector3d vel, double w, ContactPoint cpnt)
CollidableDynamicComponentw,
and add it to vel.addToPointVelocity in interface CollidableDynamicComponentvel - accumulates contact point velocity (world coordinates)w - weighting factorcpnt - contact pointpublic void updatePosState()
public void updateVelState()
public void getState(DataBuffer data)
HasNumericStategetState in interface DynamicAgentgetState in interface HasNumericStatedata - buffer for storing the state values.public void setState(DataBuffer data)
HasNumericStatesetState in interface DynamicAgentsetState in interface HasNumericStatedata - buffer containing the state informationpublic void setRandomPosState()
setRandomPosState in interface DynamicAgentpublic void setRandomVelState()
setRandomVelState in interface DynamicAgentpublic void setRandomForce()
setRandomForce in interface DynamicAgent