public static class Point5D.Double extends Point5D
Point5D.Double, Point5D.Float, Point5D.Integer| Modifier and Type | Field and Description |
|---|---|
double |
c |
double |
t |
double |
x |
double |
y |
double |
z |
| Constructor and Description |
|---|
Point5D.Double() |
Point5D.Double(double[] xyztc) |
Point5D.Double(double x,
double y,
double z,
double t,
double c) |
| Modifier and Type | Method and Description |
|---|---|
double |
getC()
Returns the C coordinate of this
Point5D in double precision. |
double |
getT()
Returns the T coordinate of this
Point5D in double precision. |
double |
getX()
Returns the X coordinate of this
Point5D in double precision. |
double |
getY()
Returns the Y coordinate of this
Point5D in double precision. |
double |
getZ()
Returns the Z coordinate of this
Point5D in double precision. |
void |
setC(double c)
Sets the C coordinate of this
Point5D in double precision. |
void |
setLocation(double x,
double y,
double z,
double t,
double c)
Sets the location of this
Point5D to the
specified double coordinates. |
void |
setT(double t)
Sets the T coordinate of this
Point5D in double precision. |
void |
setX(double x)
Sets the X coordinate of this
Point5D in double precision. |
void |
setY(double y)
Sets the Y coordinate of this
Point5D in double precision. |
void |
setZ(double z)
Sets the Z coordinate of this
Point5D in double precision. |
static double[] |
toDoubleArray(Point5D.Double[] input)
Create an array of double from the input Point5D.Double array.
|
java.awt.geom.Point2D |
toPoint2D()
Convert to 2D point
|
Point3D |
toPoint3D()
Convert to 3D point
|
Point4D |
toPoint4D()
Convert to 4D point
|
static Point5D.Double[] |
toPoint5D(double[] input)
Create an array of Point5D.Double from the input double array.
|
clone, equals, setLocation, toStringpublic double x
public double y
public double z
public double t
public double c
public Point5D.Double(double x, double y, double z, double t, double c)
public Point5D.Double(double[] xyztc)
public Point5D.Double()
public static Point5D.Double[] toPoint5D(double[] input)
input.lenght = number of point * 5.input[(pt * 5) + 0] = X coordinate for point ptinput[(pt * 5) + 1] = Y coordinate for point ptinput[(pt * 5) + 2] = Z coordinate for point ptinput[(pt * 5) + 3] = T coordinate for point ptinput[(pt * 5) + 4] = C coordinate for point ptpublic static double[] toDoubleArray(Point5D.Double[] input)
result.lenght = number of point * 5.result[(pt * 5) + 0] = X coordinate for point ptresult[(pt * 5) + 1] = Y coordinate for point ptresult[(pt * 5) + 2] = Z coordinate for point ptresult[(pt * 5) + 3] = T coordinate for point ptresult[(pt * 5) + 4] = C coordinate for point ptpublic double getX()
Point5DPoint5D in double precision.public void setX(double x)
Point5DPoint5D in double precision.public double getY()
Point5DPoint5D in double precision.public void setY(double y)
Point5DPoint5D in double precision.public double getZ()
Point5DPoint5D in double precision.public void setZ(double z)
Point5DPoint5D in double precision.public double getT()
Point5DPoint5D in double precision.public void setT(double t)
Point5DPoint5D in double precision.public double getC()
Point5DPoint5D in double precision.public void setC(double c)
Point5DPoint5D in double precision.public void setLocation(double x, double y, double z, double t, double c)
Point5DPoint5D to the
specified double coordinates.setLocation in class Point5Dx - the new X coordinate of this Point5Dy - the new Y coordinate of this Point5Dz - the new Z coordinate of this Point5Dt - the new T coordinate of this Point5Dc - the new C coordinate of this Point5Dpublic java.awt.geom.Point2D toPoint2D()
Point5D