public static class Point5D.Float extends Point5D
Point5D.Double, Point5D.Float, Point5D.Integer
Modifier and Type | Field and Description |
---|---|
float |
c |
float |
t |
float |
x |
float |
y |
float |
z |
Constructor and Description |
---|
Point5D.Float() |
Point5D.Float(float[] xyztc) |
Point5D.Float(float x,
float y,
float z,
float t,
float 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 float[] |
toFloatArray(Point5D.Float[] input)
Create an array of float from the input Point5D.Float array.
|
java.awt.geom.Point2D |
toPoint2D()
Convert to 2D point
|
Point3D |
toPoint3D()
Convert to 3D point
|
Point4D |
toPoint4D()
Convert to 4D point
|
static Point5D.Float[] |
toPoint5D(float[] input)
Create an array of Point5D.Float from the input float array.
|
clone, equals, setLocation, toString
public Point5D.Float(float x, float y, float z, float t, float c)
public Point5D.Float(float[] xyztc)
public Point5D.Float()
public static Point5D.Float[] toPoint5D(float[] 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 float[] toFloatArray(Point5D.Float[] 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()
Point5D
Point5D
in double
precision.public void setX(double x)
Point5D
Point5D
in double
precision.public double getY()
Point5D
Point5D
in double
precision.public void setY(double y)
Point5D
Point5D
in double
precision.public double getZ()
Point5D
Point5D
in double
precision.public void setZ(double z)
Point5D
Point5D
in double
precision.public double getT()
Point5D
Point5D
in double
precision.public void setT(double t)
Point5D
Point5D
in double
precision.public double getC()
Point5D
Point5D
in double
precision.public void setC(double c)
Point5D
Point5D
in double
precision.public void setLocation(double x, double y, double z, double t, double c)
Point5D
Point5D
to the
specified double
coordinates.setLocation
in class Point5D
x
- the new X coordinate of this Point5D
y
- the new Y coordinate of this Point5D
z
- the new Z coordinate of this Point5D
t
- the new T coordinate of this Point5D
c
- the new C coordinate of this Point5D
public java.awt.geom.Point2D toPoint2D()
Point5D