com.jhlabs.vecmath
Class Point3f

java.lang.Object
  extended by com.jhlabs.vecmath.Tuple3f
      extended by com.jhlabs.vecmath.Point3f

public class Point3f
extends Tuple3f

Vector math package, converted to look similar to javax.vecmath.


Field Summary
 
Fields inherited from class com.jhlabs.vecmath.Tuple3f
x, y, z
 
Constructor Summary
Point3f()
           
Point3f(float[] x)
           
Point3f(float x, float y, float z)
           
Point3f(Point3f t)
           
Point3f(Tuple3f t)
           
 
Method Summary
 float distance(Point3f p)
           
 float distanceL1(Point3f p)
           
 float distanceSquared(Point3f p)
           
 
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
 

Constructor Detail

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)
Method Detail

distanceL1

public float distanceL1(Point3f p)

distanceSquared

public float distanceSquared(Point3f p)

distance

public float distance(Point3f p)