Point2D.Double, Point2D.Float
Constructor and Description |
---|
Point3D() |
Point3D(double x,
double y) |
Point3D(double x,
double y,
double z) |
Point3D(Point2D pt) |
Point3D(Point3D pt) |
Modifier and Type | Method and Description |
---|---|
double |
getX() |
double |
getY() |
double |
getZ() |
void |
setLocation(double x,
double y) |
void |
setLocation(double x,
double y,
double z) |
String |
toString() |
clone, distance, distance, distance, distanceSq, distanceSq, distanceSq, equals, hashCode, setLocation
public Point3D()
public Point3D(double x, double y)
public Point3D(double x, double y, double z)
public Point3D(Point2D pt)
public Point3D(Point3D pt)
public double getZ()
public void setLocation(double x, double y)
setLocation
in class Point2D
public void setLocation(double x, double y, double z)