org.opensourcephysics.display3d.core
Interface ElementPlane

All Superinterfaces:
Element, InteractionSource
All Known Implementing Classes:
ElementPlane

public interface ElementPlane
extends Element

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
static class ElementPlane.ElementPlaneLoader
           
 
Nested 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
 double[] getFirstDirection()
          Gets the first direction vector of th eplane
 double[] getSecondDirection()
          Gets the second direction vector of th eplane
 void setFirstDirection(double[] vector)
          Sets the first direction vector of th eplane
 void setSecondDirection(double[] vector)
          Sets the second direction vector of th eplane
 
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
 
Methods inherited from interface org.opensourcephysics.display3d.core.interaction.InteractionSource
addInteractionListener, getInteractionTarget, removeInteractionListener
 

Method Detail

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