barsuift.simLife.j3d
Class Tuple3dState

java.lang.Object
  extended by barsuift.simLife.j3d.Tuple3dState
All Implemented Interfaces:
State

public class Tuple3dState
extends java.lang.Object
implements State


Constructor Summary
Tuple3dState()
           
Tuple3dState(double x, double y, double z)
           
Tuple3dState(javax.vecmath.Tuple3d point)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 double getX()
           
 double getY()
           
 double getZ()
           
 int hashCode()
           
 void setX(double x)
           
 void setY(double y)
           
 void setZ(double z)
           
 javax.vecmath.Point3d toPointValue()
           
 java.lang.String toString()
           
 javax.vecmath.Vector3d toVectorValue()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Tuple3dState

public Tuple3dState()

Tuple3dState

public Tuple3dState(double x,
                    double y,
                    double z)

Tuple3dState

public Tuple3dState(javax.vecmath.Tuple3d point)
Method Detail

toPointValue

public javax.vecmath.Point3d toPointValue()

toVectorValue

public javax.vecmath.Vector3d toVectorValue()

getX

public double getX()

setX

public void setX(double x)

getY

public double getY()

setY

public void setY(double y)

getZ

public double getZ()

setZ

public void setZ(double z)

hashCode

public int hashCode()
Specified by:
hashCode in interface State
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Specified by:
equals in interface State
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface State
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.