public class ElementSphere extends ElementEllipsoid implements ElementSphere
Title: ElementSphere
Description: An Ellipsoid with the same size in all dimensions.
Changing the size in any dimension also sets the other sizes. Setting different sizes to X, Y, and Z will result in setting the radius to the largest of the three dimensions.
ElementEllipsoid.Loader
TO_RADIANS, vectorx, vectory, vectorz
corners, numberOfTiles
targetPosition, targetSize
TARGET_POSITION, TARGET_SIZE
Constructor and Description |
---|
ElementSphere() |
ElementSphere(double radius) |
Modifier and Type | Method and Description |
---|---|
double |
getRadius()
Gets the radius
|
void |
setRadius(double radius)
Sets the radius.
|
void |
setSizeX(double sizeX)
Set the size along the X axis
|
void |
setSizeXYZ(double sizeX,
double sizeY,
double sizeZ)
Set the size along the X, Y and Z axes
|
void |
setSizeY(double sizeY)
Set the size along the Y axis
|
void |
setSizeZ(double sizeZ)
Set the size along the Z axis
|
computeCorners, getLoader, getMaximumAngleU, getMaximumAngleV, getMinimumAngleU, getMinimumAngleV, isClosedBottom, isClosedLeft, isClosedRight, isClosedTop, setClosedBottom, setClosedLeft, setClosedRight, setClosedTop, setMaximumAngleU, setMaximumAngleV, setMinimumAngleU, setMinimumAngleV
GetDisplacementFactor, getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDisplacementFactor, setDrawQuickInterior
addInteractionListener, getHotSpotBodyCoordinates, getInteractionTarget, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isReallyVisible, isVisible, loadUnmutableObjects, removeInteractionListener, setName, setSizeXYZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMaximumAngleU, getMaximumAngleV, getMinimumAngleU, getMinimumAngleV, isClosedBottom, isClosedLeft, isClosedRight, isClosedTop, setClosedBottom, setClosedLeft, setClosedRight, setClosedTop, setMaximumAngleU, setMaximumAngleV, setMinimumAngleU, setMinimumAngleV
getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeXYZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrame
addInteractionListener, getInteractionTarget, removeInteractionListener
public ElementSphere()
public ElementSphere(double radius)
public void setRadius(double radius)
ElementSphere
setRadius
in interface ElementSphere
radius
- the radiuspublic double getRadius()
ElementSphere
getRadius
in interface ElementSphere
public void setSizeX(double sizeX)
Element
public void setSizeY(double sizeY)
Element
public void setSizeZ(double sizeZ)
Element
public void setSizeXYZ(double sizeX, double sizeY, double sizeZ)
Element
setSizeXYZ
in interface Element
setSizeXYZ
in class Element
sizeX
- doublesizeY
- doublesizeZ
- double