Element, ElementEllipsoid, ElementSphere, InteractionSourcepublic 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.Loadercorners, numberOfTilesTARGET_POSITION, TARGET_SIZEtargetPosition, targetSizeTO_RADIANS| Constructor | Description |
|---|---|
ElementSphere() |
Constructor ElementSphere
|
ElementSphere(double radius) |
Constructor ElementSphere
|
| Modifier and Type | Method | 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
|
getTargetHit, projectPoints, setColorBelowWhenEqual, setColorOriginAndDirection, setColorRegions, setCorners, setDrawQuickInteriorgetDrawingPanel3D, getName, getSizeX, getSizeY, getSizeZ, getStyle, getTransformation, getX, getY, getZ, isVisible, loadUnmutableObjects, setName, setSizeXYZ, setTransformation, setVisible, setX, setXYZ, setXYZ, setY, setZ, toBodyFrame, toSpaceFrameaddInteractionListener, getAxesMode, getDrawingPanel3D, 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, toSpaceFramegetMaximumAngleU, getMaximumAngleV, getMinimumAngleU, getMinimumAngleV, isClosedBottom, isClosedLeft, isClosedRight, isClosedTop, setClosedBottom, setClosedLeft, setClosedRight, setClosedTop, setMaximumAngleU, setMaximumAngleV, setMinimumAngleU, setMinimumAngleVcomputeCorners, getLoader, getMaximumAngleU, getMaximumAngleV, getMinimumAngleU, getMinimumAngleV, isClosedBottom, isClosedLeft, isClosedRight, isClosedTop, setClosedBottom, setClosedLeft, setClosedRight, setClosedTop, setMaximumAngleU, setMaximumAngleV, setMinimumAngleU, setMinimumAngleVaddInteractionListener, getInteractionTarget, removeInteractionListenerpublic ElementSphere()
public ElementSphere(double radius)
radius - public void setRadius(double radius)
ElementSpheresetRadius in interface ElementSphereradius - the radiuspublic double getRadius()
ElementSpheregetRadius in interface ElementSpherepublic void setSizeX(double sizeX)
Elementpublic void setSizeY(double sizeY)
Elementpublic void setSizeZ(double sizeZ)
Elementpublic void setSizeXYZ(double sizeX,
double sizeY,
double sizeZ)
ElementsetSizeXYZ in interface ElementsetSizeXYZ in class ElementsizeX - doublesizeY - doublesizeZ - double