Constructor and Description |
---|
Point(double x,
double y,
double z) |
Point(Vector v) |
Modifier and Type | Method and Description |
---|---|
Point |
add(Vector vec) |
Point |
clone() |
double |
distance(Point o) |
double |
distanceSquared(Point o) |
double |
distanceSquaredXZ(Point o) |
double |
distanceXZ(Point o) |
double |
square(double a) |
Point |
sub(Vector vec) |
String |
toShowableString() |
String |
toString() |
public Point(Vector v)
public Point(double x, double y, double z)
public double distance(Point o)
public double distanceSquared(Point o)
public double distanceXZ(Point o)
public double distanceSquaredXZ(Point o)
public double square(double a)
public String toShowableString()