public class Point4d
extends java.lang.Object
Constructor and Description |
---|
Point4d()
Initialize empty.
|
Point4d(double x,
double y,
double z,
double w)
Initialize with 3 doubles.
|
Point4d(Point3d that,
double w) |
Point4d(Point4d that)
Make a copy from the given Point4d
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
void |
finalize() |
double |
getW()
Return the W value.
|
double |
getX()
Return the X value.
|
double |
getY()
Return the Y value.
|
double |
getZ()
Return the Z value.
|
void |
setValue(double x,
double y,
double z,
double w)
Set the value of the point.
|
java.lang.String |
toString() |
public Point4d()
public Point4d(Point4d that)
public Point4d(Point3d that, double w)
public Point4d(double x, double y, double z, double w)
public void finalize()
finalize
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public double getX()
public double getY()
public double getZ()
public double getW()
public void setValue(double x, double y, double z, double w)