org.xistrat.util.d3.vrmlgraph
Class Node

java.lang.Object
  extended by org.xistrat.util.d3.vrmlgraph.Node

public class Node
extends java.lang.Object

The Node class acts as an object to store information about nodes.

Since:
0.6.90

Constructor Summary
Node(java.lang.String label, double x, double y, double z)
          Constructor for the Node object
 
Method Summary
 double getFX()
          Gets the FX attribute of the Node object
 double getFY()
          Gets the FY attribute of the Node object
 double getFZ()
          Gets the FZ attribute of the Node object
 java.lang.String getLabel()
          Gets the Label attribute of the Node object
 double getX()
          Gets the X attribute of the Node object
 double getY()
          Gets the Y attribute of the Node object
 double getZ()
          Gets the Z attribute of the Node object
 void setFX(double fx)
          Sets the FX attribute of the Node object
 void setFY(double fy)
          Sets the FY attribute of the Node object
 void setFZ(double fz)
          Sets the FZ attribute of the Node object
 void setX(double x)
          Sets the X attribute of the Node object
 void setY(double y)
          Sets the Y attribute of the Node object
 void setZ(double z)
          Sets the Z attribute of the Node object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(java.lang.String label,
            double x,
            double y,
            double z)
Constructor for the Node object

Parameters:
label - The label of the node
x - The x coordinate of the node
y - The y coordinate of the node
z - The z coordinate of the node
Method Detail

setX

public void setX(double x)
Sets the X attribute of the Node object

Parameters:
x - The new x coordinate of the node

setY

public void setY(double y)
Sets the Y attribute of the Node object

Parameters:
y - The new y coordinate of the node

setZ

public void setZ(double z)
Sets the Z attribute of the Node object

Parameters:
z - The new z coordinate of the node

setFX

public void setFX(double fx)
Sets the FX attribute of the Node object

Parameters:
fx - The new x component of the force

setFY

public void setFY(double fy)
Sets the FY attribute of the Node object

Parameters:
fy - The new y component of the force

setFZ

public void setFZ(double fz)
Sets the FZ attribute of the Node object

Parameters:
fz - The new z component of the force

getLabel

public java.lang.String getLabel()
Gets the Label attribute of the Node object

Returns:
The label of the node

getX

public double getX()
Gets the X attribute of the Node object

Returns:
The X coordinate value

getY

public double getY()
Gets the Y attribute of the Node object

Returns:
The Y coordinate value

getZ

public double getZ()
Gets the Z attribute of the Node object

Returns:
The Z coordinate value

getFX

public double getFX()
Gets the FX attribute of the Node object

Returns:
The force currently acting along the x axis value

getFY

public double getFY()
Gets the FY attribute of the Node object

Returns:
The force currently acting along the y axis value

getFZ

public double getFZ()
Gets the FZ attribute of the Node object

Returns:
The force currently acting along the z axis value