public abstract class Point5D extends java.lang.Object implements java.lang.Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
Point5D.Double |
static class |
Point5D.Float |
static class |
Point5D.Integer |
Constructor and Description |
---|
Point5D() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Creates a new object of the same class as this object.
|
boolean |
equals(java.lang.Object obj) |
abstract double |
getC()
Returns the C coordinate of this
Point5D in double precision. |
abstract double |
getT()
Returns the T coordinate of this
Point5D in double precision. |
abstract double |
getX()
Returns the X coordinate of this
Point5D in double precision. |
abstract double |
getY()
Returns the Y coordinate of this
Point5D in double precision. |
abstract double |
getZ()
Returns the Z coordinate of this
Point5D in double precision. |
abstract 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 |
setLocation(Point5D p)
Sets the location of this
Point5D to the same
coordinates as the specified Point5D object. |
abstract void |
setT(double t)
Sets the T coordinate of this
Point5D in double precision. |
abstract void |
setX(double x)
Sets the X coordinate of this
Point5D in double precision. |
abstract void |
setY(double y)
Sets the Y coordinate of this
Point5D in double precision. |
abstract void |
setZ(double z)
Sets the Z coordinate of this
Point5D in double precision. |
abstract java.awt.geom.Point2D |
toPoint2D()
Convert to 2D point
|
abstract Point3D |
toPoint3D()
Convert to 3D point
|
abstract Point4D |
toPoint4D()
Convert to 4D point
|
java.lang.String |
toString() |
public Point5D()
public abstract double getX()
Point5D
in double
precision.Point5D
.public abstract double getY()
Point5D
in double
precision.Point5D
.public abstract double getZ()
Point5D
in double
precision.Point5D
.public abstract double getT()
Point5D
in double
precision.Point5D
.public abstract double getC()
Point5D
in double
precision.Point5D
.public abstract void setX(double x)
Point5D
in double
precision.public abstract void setY(double y)
Point5D
in double
precision.public abstract void setZ(double z)
Point5D
in double
precision.public abstract void setT(double t)
Point5D
in double
precision.public abstract void setC(double c)
Point5D
in double
precision.public void setLocation(double x, double y, double z, double t, double c)
Point5D
to the
specified double
coordinates.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 void setLocation(Point5D p)
Point5D
to the same
coordinates as the specified Point5D
object.p
- the specified Point5D
to which to set
this Point5D
public abstract java.awt.geom.Point2D toPoint2D()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
java.lang.OutOfMemoryError
- if there is not enough memory.Cloneable
public java.lang.String toString()
toString
in class java.lang.Object