public interface Point3d extends Coordinate
Modifier and Type | Method and Description |
---|---|
Point3d |
copy()
Clone the point
|
void |
copyFrom(Point3d p)
Copy the values of the given point into this point.
|
double |
getX() |
double |
getY() |
double |
getZ() |
Point3d |
minus(Point3d a)
Take point point from another point such that return = this - a
|
void |
setX(double x)
Set x coordinate of point
|
void |
setY(double y)
Set y coordinate of point
|
void |
setZ(double z)
Set z coordinate of point
|
Point3d |
transform(Jama.Matrix m)
Transform the point by the given matrix
|
void |
translate(double x,
double y,
double z)
Translate the position of the point by the given amounts
|
void |
translate(Point3d v)
Translate the position of the point by the given amounts
|
getDimensions, getOrdinate, setOrdinate
asciiHeader, readASCII
binaryHeader, readBinary
asciiHeader, writeASCII
binaryHeader, writeBinary
double getX()
void setX(double x)
x
- x-coordinatedouble getY()
void setY(double y)
y
- y-coordinatedouble getZ()
void setZ(double z)
z
- z-coordinatevoid copyFrom(Point3d p)
p
- The point to copy values from.void translate(double x, double y, double z)
x
- x-amounty
- y-amountz
- z-amountPoint3d transform(Jama.Matrix m)
m
- Point3d minus(Point3d a)
a
-