Interface ElementPlane
- All Superinterfaces:
Element
,InteractionSource
- All Known Implementing Classes:
ElementPlane
Title: ElementSurface
Description: A 3D plane.
The plane is specified by (its position, size, and) its direction vectors- Version:
- March 2005
- Author:
- Francisco Esquembre
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.opensourcephysics.display3d.core.Element
Element.Loader
-
Field Summary
Fields inherited from interface org.opensourcephysics.display3d.core.Element
TARGET_POSITION, TARGET_SIZE
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Gets the first direction vector of th eplanedouble[]
Gets the second direction vector of th eplanevoid
setFirstDirection
(double[] vector) Sets the first direction vector of th eplanevoid
setSecondDirection
(double[] vector) Sets the second direction vector of th eplaneMethods 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 Details
-
setFirstDirection
void setFirstDirection(double[] vector) Sets the first direction vector of th eplane- Parameters:
data
- the double[3] array for the first vector
-
getFirstDirection
double[] getFirstDirection()Gets the first direction vector of th eplane- Returns:
- the double[3] array for the first vector
-
setSecondDirection
void setSecondDirection(double[] vector) Sets the second direction vector of th eplane- Parameters:
data
- the double[3] array for the first vector
-
getSecondDirection
double[] getSecondDirection()Gets the second direction vector of th eplane- Returns:
- the double[3] array for the first vector
-