|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementTetrahedron
Title: ElementTetrahedron
Description: A 3D Tetrahedron. The tetrahedron can be incomplete or double, if height!=sizeZ.
Nested Class Summary | |
---|---|
static class |
ElementTetrahedron.Loader
|
Field Summary |
---|
Fields inherited from interface org.opensourcephysics.display3d.core.Element |
---|
TARGET_POSITION, TARGET_SIZE |
Method Summary | |
---|---|
double |
getTruncationHeight()
Gets the truncation height for this tetrahedron. |
boolean |
isClosedBottom()
Whether the tetrahedron is closed at its bottom. |
boolean |
isClosedTop()
Whether the tetrahedron is closed at its top. |
void |
setClosedBottom(boolean close)
Whether the tetrahedron should be closed at its bottom. |
void |
setClosedTop(boolean close)
Whether an incomplete tetrahedron element should be closed at its top. |
void |
setTruncationHeight(double height)
Sets the truncation height for this tetrahedron. |
Methods inherited from interface org.opensourcephysics.display3d.core.Element |
---|
getDrawingPanel3D, 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 |
---|
void setTruncationHeight(double height)
height
- doubledouble getTruncationHeight()
#setTruncationHeight()
void setClosedBottom(boolean close)
close
- the desired valueboolean isClosedBottom()
void setClosedTop(boolean close)
closed
- the desired valueboolean isClosedTop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |