com.jhlabs.vecmath
Class Point4f

java.lang.Object
  extended by com.jhlabs.vecmath.Tuple4f
      extended by com.jhlabs.vecmath.Point4f

public class Point4f
extends Tuple4f

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


Field Summary
 
Fields inherited from class com.jhlabs.vecmath.Tuple4f
w, x, y, z
 
Constructor Summary
Point4f()
           
Point4f(float[] x)
           
Point4f(float x, float y, float z, float w)
           
Point4f(Point4f t)
           
Point4f(Tuple4f t)
           
 
Method Summary
 float distance(Point4f p)
           
 float distanceL1(Point4f p)
           
 float distanceSquared(Point4f p)
           
 
Methods inherited from class com.jhlabs.vecmath.Tuple4f
absolute, absolute, add, add, clamp, get, get, interpolate, negate, negate, scale, 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

Point4f

public Point4f()

Point4f

public Point4f(float[] x)

Point4f

public Point4f(float x,
               float y,
               float z,
               float w)

Point4f

public Point4f(Point4f t)

Point4f

public Point4f(Tuple4f t)
Method Detail

distanceL1

public float distanceL1(Point4f p)

distanceSquared

public float distanceSquared(Point4f p)

distance

public float distance(Point4f p)