com.jhlabs.vecmath
Class Point3f
java.lang.Object
com.jhlabs.vecmath.Tuple3f
com.jhlabs.vecmath.Point3f
public class Point3f
- extends Tuple3f
Vector math package, converted to look similar to javax.vecmath.
Fields inherited from class com.jhlabs.vecmath.Tuple3f |
x, y, z |
Methods inherited from class com.jhlabs.vecmath.Tuple3f |
absolute, absolute, add, add, clamp, get, get, interpolate, negate, negate, scale, scaleAdd, scaleAdd, set, set, set, sub, sub, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Point3f
public Point3f()
Point3f
public Point3f(float[] x)
Point3f
public Point3f(float x,
float y,
float z)
Point3f
public Point3f(Point3f t)
Point3f
public Point3f(Tuple3f t)
distanceL1
public float distanceL1(Point3f p)
distanceSquared
public float distanceSquared(Point3f p)
distance
public float distance(Point3f p)