Element
, InteractionSource
ElementCylinder
public interface ElementCylinder extends Element
Title: ElementCylinder
Description: A 3D Cylinder.
Modifier and Type | Interface | Description |
---|---|---|
static class |
ElementCylinder.Loader |
TARGET_POSITION, TARGET_SIZE
Modifier and Type | Method | Description |
---|---|---|
int |
getMaximumAngle() |
Gets the maximum angle used to build the top and faces sides of the cylinder.
|
int |
getMinimumAngle() |
Gets the minimum angle used to build the top and bottom faces of the cylinder.
|
boolean |
isClosedBottom() |
Whether the element is closed at its bottom.
|
boolean |
isClosedLeft() |
Whether the element is closed at its left side.
|
boolean |
isClosedRight() |
Whether the element is closed at its right side.
|
boolean |
isClosedTop() |
Whether the element is closed at its top.
|
void |
setClosedBottom(boolean close) |
Whether the element should be closed at its bottom.
|
void |
setClosedLeft(boolean close) |
Whether an incomplete element should be closed at its left side.
|
void |
setClosedRight(boolean close) |
Whether an incomplete element should be closed at its right side.
|
void |
setClosedTop(boolean close) |
Whether the element should be closed at its top.
|
void |
setMaximumAngle(int angle) |
Sets the maximum angle to build the top and bottom faces of the cylinder.
|
void |
setMinimumAngle(int angle) |
Sets the minimum angle to build the top and bottom faces of the cylinder.
|
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 setMinimumAngle(int angle)
angle
- the minimum angle (in degrees)int getMinimumAngle()
void setMaximumAngle(int angle)
angle
- the maximum angle (in degrees)int getMaximumAngle()
void setClosedBottom(boolean close)
closed
- the desired valueboolean isClosedBottom()
void setClosedTop(boolean close)
closed
- the desired valueboolean isClosedTop()
void setClosedLeft(boolean close)
closed
- the desired valueboolean isClosedLeft()
void setClosedRight(boolean close)
closed
- the desired valueboolean isClosedRight()