public class Point3D
extends java.awt.geom.Point2D
Constructor and Description |
---|
Point3D() |
Point3D(double x,
double y) |
Point3D(double x,
double y,
double z) |
Point3D(java.awt.geom.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) |
java.lang.String |
toString() |
public Point3D()
public Point3D(double x, double y)
public Point3D(double x, double y, double z)
public Point3D(java.awt.geom.Point2D pt)
public Point3D(Point3D pt)
public double getX()
getX
in class java.awt.geom.Point2D
public double getY()
getY
in class java.awt.geom.Point2D
public double getZ()
public void setLocation(double x, double y)
setLocation
in class java.awt.geom.Point2D
public void setLocation(double x, double y, double z)
public java.lang.String toString()
toString
in class java.lang.Object