Element
, InteractionSource
ElementTetrahedron
public interface ElementTetrahedron extends Element
Title: ElementTetrahedron
Description: A 3D Tetrahedron. The tetrahedron can be incomplete or double, if height!=sizeZ.
Modifier and Type | Interface | Description |
---|---|---|
static class |
ElementTetrahedron.Loader |
TARGET_POSITION, TARGET_SIZE
Modifier and Type | Method | Description |
---|---|---|
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.
|
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
addInteractionListener, getInteractionTarget, removeInteractionListener
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()