public class P3 extends Tuple3f
Constructor and Description |
---|
P3() |
Modifier and Type | Method and Description |
---|---|
float |
distance(Tuple3f p1)
Returns the distance between this point and point p1.
|
float |
distanceSquared(Tuple3f p1)
Computes the square of the distance between this point and point p1.
|
static P3 |
new3(float x,
float y,
float z) |
static P3 |
newP(Tuple3f t) |
public static P3 new3(float x, float y, float z)
public final float distanceSquared(Tuple3f p1)
p1
- the other pointpublic final float distance(Tuple3f p1)
p1
- the other point