org.opensourcephysics.display3d.core
Interface ElementSurface
- All Superinterfaces:
- Element, InteractionSource
- All Known Implementing Classes:
- ElementSurface
public interface ElementSurface
- extends Element
Title: ElementSurface
Description: A 3D Surface of the form (x(u,v),y(u,v),z(u,v))
- Version:
- March 2005
- Author:
- Francisco Esquembre
Method Summary |
double[][][] |
getData()
Gets the data of the surface. |
void |
setData(double[][][] data)
Sets the data of the surface. |
Methods 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 |
setData
void setData(double[][][] data)
- Sets the data of the surface.
- Parameters:
data
- the double[nu][nv][3] array of coordinates for the surface.
getData
double[][][] getData()
- Gets the data of the surface.
- Returns:
- the double[nu][nv][3] array of coordinates of the surface.