© 2006-2007 ETH Zurich

org.ximtec.igesture.util.additions3d
Class Point3D

java.lang.Object
  extended by org.ximtec.igesture.util.additions3d.Point3D
All Implemented Interfaces:
Cloneable

public class Point3D
extends Object
implements Cloneable


Constructor Summary
Point3D()
          Constructor
Point3D(double x, double y, double z, long timeStamp)
          Constructor
 
Method Summary
 Object clone()
          Clones a point3D.
 long getTimeStamp()
          returns the time stamp for this point
 double getX()
           
 double getY()
           
 double getZ()
           
 boolean hasTimeStamp()
          Returns true if the point has a timestamp, otherwise false
 void set(double x, double y, double z)
          Set x, y and z
 void setTimeStamp(long timeStamp)
          sets the timestamp for this point
 void setX(double x)
           
 void setY(double y)
           
 void setZ(double z)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point3D

public Point3D()
Constructor


Point3D

public Point3D(double x,
               double y,
               double z,
               long timeStamp)
Constructor

Parameters:
x -
y -
z -
timeStamp -
Method Detail

getTimeStamp

public long getTimeStamp()
returns the time stamp for this point

Returns:

set

public void set(double x,
                double y,
                double z)
Set x, y and z

Parameters:
x -
y -
z -

setTimeStamp

public void setTimeStamp(long timeStamp)
sets the timestamp for this point

Parameters:
timeStamp -

hasTimeStamp

public boolean hasTimeStamp()
Returns true if the point has a timestamp, otherwise false

Returns:

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)

clone

public Object clone()
Clones a point3D.

Overrides:
clone in class Object
Returns:
the cloned point3D.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.