jjdh.java.math
Class Point3D
java.lang.Object
jjdh.java.math.Point3D
- Direct Known Subclasses:
- Vector3D
public class Point3D
- extends Object
- Author:
- Dennis Heidsiek
Distance
public static final Comparator<Point3D> Distance
data
protected final float[] data
Point3D
public Point3D()
Point3D
public Point3D(float x,
float y,
float z)
Point3D
public Point3D(Point3D v)
getData
public float[] getData()
getX
public float getX()
getY
public float getY()
getZ
public float getZ()
toString
public String toString()
- Overrides:
toString
in class Object
getDistance
protected static final float getDistance(Point3D v0,
Point3D v1)
equals
public boolean equals(Point3D other,
float epsilon)
equals
public boolean equals(Point3D other)
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toSloppyIntBits
protected static final int toSloppyIntBits(float f)
- It's totally Crazy, but reality: (-0f) != (0f)
hashCode
public int hashCode()
- Calculates a hash code value for this
Vertex3D
.
- Overrides:
hashCode
in class Object
- Returns:
- the hash code value for this
Vertex3D
.
Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.