org.jscience.physics.solids
Class AtlasNode

java.lang.Object
  extended by org.jscience.physics.solids.AtlasObject
      extended by org.jscience.physics.solids.geom.AtlasPosition
          extended by org.jscience.physics.solids.AtlasNode
All Implemented Interfaces:
java.lang.Comparable

public class AtlasNode
extends AtlasPosition

Position object for elements, loads, etc...


Field Summary
static java.lang.String TYPE
          DOCUMENT ME!
 
Constructor Summary
AtlasNode(java.lang.String id, double x, double y, double z)
          Creates a new Node at global location (x,y,z)
 
Method Summary
 javax.media.j3d.Appearance getAppearance()
          Returns the appearance for this node.
 int getNumberDOF()
          Returns the number of Degrees of Freedom for the node.
 java.lang.String getType()
          Returns type as "Node".
 org.jdom.Element loadJDOMElement()
          DOCUMENT ME!
 void populateGeometry(javax.media.j3d.BranchGroup geometryRoot)
          Draws a sphere at the node position.
 void setNumberDOF(int num)
          Sets the number of Degrees of Freedom for this node.
static AtlasObject unloadJDOMElement(AtlasModel parent, org.jdom.Element e)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.solids.geom.AtlasPosition
computeDistance, getGlobalPosition, getX, getY, getZ, interpolatePoints, isEquivalent, toString
 
Methods inherited from class org.jscience.physics.solids.AtlasObject
compareTo, equals, getId, getParentModel, setId, setParentModel
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

public static java.lang.String TYPE
DOCUMENT ME!

Constructor Detail

AtlasNode

public AtlasNode(java.lang.String id,
                 double x,
                 double y,
                 double z)
Creates a new Node at global location (x,y,z)

Method Detail

getType

public java.lang.String getType()
Returns type as "Node".

Overrides:
getType in class AtlasPosition
Returns:
DOCUMENT ME!

setNumberDOF

public void setNumberDOF(int num)
Sets the number of Degrees of Freedom for this node. Default is 6. This value can be changed for different classes of problems.

Parameters:
num - DOCUMENT ME!

getNumberDOF

public int getNumberDOF()
Returns the number of Degrees of Freedom for the node. Default is 6.

Returns:
DOCUMENT ME!

loadJDOMElement

public org.jdom.Element loadJDOMElement()
DOCUMENT ME!

Overrides:
loadJDOMElement in class AtlasObject
Returns:
DOCUMENT ME!

unloadJDOMElement

public static AtlasObject unloadJDOMElement(AtlasModel parent,
                                            org.jdom.Element e)
DOCUMENT ME!

Parameters:
parent - DOCUMENT ME!
e - DOCUMENT ME!
Returns:
DOCUMENT ME!

getAppearance

public javax.media.j3d.Appearance getAppearance()
Returns the appearance for this node.

Returns:
DOCUMENT ME!

populateGeometry

public void populateGeometry(javax.media.j3d.BranchGroup geometryRoot)
Draws a sphere at the node position.

Overrides:
populateGeometry in class AtlasObject
Parameters:
geometryRoot - DOCUMENT ME!