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