Sky View Café - Java

org.shetline.math
Class Point3D

java.lang.Object
  extended by org.shetline.math.Point3D

public class Point3D
extends Object


Field Summary
protected  int hash
           
protected  boolean hashed
           
 double x
           
 double y
           
 double z
           
 
Constructor Summary
Point3D()
           
Point3D(double[] xyz)
           
Point3D(double x, double y, double z)
           
Point3D(Point3D pt)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 Point3D set(double[] xyz)
           
 Point3D set(double x, double y, double z)
           
 Point3D set(Point3D pt)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

x

public double x

y

public double y

z

public double z

hashed

protected boolean hashed

hash

protected int hash
Constructor Detail

Point3D

public Point3D()

Point3D

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

Point3D

public Point3D(Point3D pt)

Point3D

public Point3D(double[] xyz)
Method Detail

set

public Point3D set(double x,
                   double y,
                   double z)

set

public Point3D set(Point3D pt)

set

public Point3D set(double[] xyz)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Sky View Café - Java