Package ffx.numerics.quickhull
Class Point3d
java.lang.Object
ffx.numerics.quickhull.Vector3d
ffx.numerics.quickhull.Point3d
A three-element spatial point. The only difference between a point and a
vector is in the way it is transformed by an affine transformation. Since
the transform method is not included in this reduced implementation for
QuickHull3D, the difference is purely academic.
- Since:
- 1.0
- Author:
- John E. Lloyd, Fall 2004, Michael J. Schnieders
-
Constructor Details
-
Point3d
public Point3d()Creates a Point3d and initializes it to zero. -
Point3d
Creates a Point3d by copying a vector- Parameters:
v
- vector to be copied
-
Point3d
public Point3d(double x, double y, double z) Creates a Point3d with the supplied element values.- Parameters:
x
- first elementy
- second elementz
- third element
-