public class Point3d extends Vector3d
| Modifier and Type | Field and Description |
|---|---|
static Point3d |
NEGATIVE_INFINITY |
static Point3d |
POSITIVE_INFINITY |
static Point3d |
ZERO
Global zero point.
|
NEG_X_UNIT, NEG_Y_UNIT, NEG_Z_UNIT, ONES, x, X_UNIT, y, Y_UNIT, z, Z_UNIT| Constructor and Description |
|---|
Point3d()
Creates a Point3d and initializes it to zero.
|
Point3d(double[] values)
Creates a Point3d with the supplied element values.
|
Point3d(double x,
double y,
double z)
Creates a Point3d with the supplied element values.
|
Point3d(Point3d v)
Creates a Point3d by copying a Point3d
|
Point3d(Vector v)
Creates a Point3d by copying an existing Vector.
|
Point3d(Vector3d v)
Creates a Point3d by copying a vector
|
| Modifier and Type | Method and Description |
|---|---|
Point3d |
clone() |
void |
inverseTransform(AffineTransform3dBase X)
Applies an inverse affine transformation to this point, in place.
|
void |
inverseTransform(AffineTransform3dBase X,
Vector3d p1)
Applies an inverse affine transformation to the point p1, and places the
result in this vector.
|
void |
transform(AffineTransform3dBase X)
Applies an affine transformation to this point, in place.
|
void |
transform(AffineTransform3dBase X,
Vector3d p1)
Applies an affine transformation to the point p1, and places the result in
this point.
|
absolute, absolute, add, add, add, addObj, angle, angleWeightedCross, angleWeightedCrossAdd, combine, computeHashCode, cross, cross, crossAdd, distance, distanceSquared, dot, epsilonEquals, equals, get, get, get, get, get, get, greater, greaterEquals, hermiteInterpolate, hermiteVelocity, infinityNorm, interpolate, interpolate, inverseTransform, inverseTransform, main, max, maxAbsIndex, maxElement, min, minAbsIndex, minElement, mul, mulAdd, mulTranspose, mulTransposeAdd, negate, negate, norm, normalize, normalize, normSquared, oneNorm, perpendicular, scale, scale, scale, scaledAdd, scaledAdd, scaledAddObj, scaleObj, scan, set, set, set, set, set, set, set, set, setFromHomogeneous, setRandom, setRandom, setRandom, setZero, size, sort, sort, sortAbsolute, sub, sub, transform, transform, triangleArea, updateBounds, writecontainsNaN, copy, copyAndAdd, copyAndNegate, copyAndScale, copyAndSub, copyAndSubLeft, dot, epsilonEquals, equals, get, getDefaultFormat, hasInf, hasNaN, isColumnVectorStringsVertical, isFixedSize, isRowVector, isWritable, scan, set, set, setColumnVectorStringsVertical, setDefaultFormat, setRowVector, setSize, toString, toString, toString, write, write, writeToFileequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetThreeVectorValueisWritable, scan, writepublic static final Point3d ZERO
public static final Point3d POSITIVE_INFINITY
public static final Point3d NEGATIVE_INFINITY
public Point3d()
public Point3d(Point3d v)
v - point to be copiedpublic Point3d(Vector3d v)
v - vector to be copiedpublic Point3d(Vector v)
v - vector to be copiedpublic Point3d(double[] values)
values - element valuespublic Point3d(double x,
double y,
double z)
x - first elementy - second elementz - third elementpublic void transform(AffineTransform3dBase X)
public void transform(AffineTransform3dBase X, Vector3d p1)
public void inverseTransform(AffineTransform3dBase X)
inverseTransform in class Vector3dX - affine transformationpublic void inverseTransform(AffineTransform3dBase X, Vector3d p1)
inverseTransform in class Vector3dX - affine transformationp1 - point to be transformed