Class Vector3d

Object
org.anchoranalysis.spatial.point.Tuple3d
org.anchoranalysis.spatial.point.Vector3d
All Implemented Interfaces:
Serializable

public final class Vector3d
extends Tuple3d
A three-dimensional vector of double values.

We consider a vector to be a tuple with additional magnitude and direction, to give a physical interpretation.

Author:
Owen Feehan
See Also:
Serialized Form
  • Constructor Details

    • Vector3d

      public Vector3d​(Tuple3d tuple)
      Creates with the same values as an existing Tuple3d.
      Parameters:
      tuple - to copy values from.
    • Vector3d

      public Vector3d​(double x, double y, double z)
      Create with values for each dimension.
      Parameters:
      x - the value for the X-dimension.
      y - the value for the Y-dimension.
      z - the value for the Z-dimension.
    • Vector3d

      public Vector3d()
  • Method Details