|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: ElementSpring
Description: A 3D spring.
| Nested Class Summary | |
static class |
ElementSpring.Loader
|
| Field Summary |
| Fields inherited from interface org.opensourcephysics.display3d.core.Element |
TARGET_POSITION, TARGET_SIZE |
| Method Summary | |
double |
getRadius()
Gets the radius of the spring. |
void |
setRadius(double radius)
Sets the radius of the spring. |
| Methods inherited from interface org.opensourcephysics.display3d.core.Element |
getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeX, setSizeXYZ, setSizeXYZ, setSizeY, setSizeZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame |
| Methods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource |
addInteractionListener, getInteractionTarget, removeInteractionListener |
| Method Detail |
public void setRadius(double radius)
radius - the radius of the spring (normal to its direction)public double getRadius()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||