Package com.treemap.swing.fastvoronoi.originalconvexhull

# Class Vector

java.lang.Object
com.treemap.swing.fastvoronoi.originalconvexhull.Vector

public class Vector extends Object
3-dimensional Vector with some helpfull functions, e.g., normalizing ...

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `double`
  `x`
  `double`
  `y`
  `double`
  `z`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Vector()`
  `Vector(double x, double y, double z)`
  `Vector(Vector a)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Vector`
  `cross(Vector b)`
  `double`
  `dot(Vector b)`
  `double`
  `dot(Vertex b)`
  `double`
  `length()`
  `void`
  `negate()`
  `void`
  `normalize()`
  `Vector`
  `subtract(Vector b)`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### x

    public double x

  - ### y

    public double y

  - ### z

    public double z

- ## Constructor Details

  - ### Vector

    public Vector()

  - ### Vector

    public Vector(double x, double y, double z)

  - ### Vector

    public Vector(Vector a)

- ## Method Details

  - ### subtract

    public Vector subtract(Vector b)

  - ### cross

    public Vector cross(Vector b)

  - ### dot

    public double dot(Vector b)

  - ### dot

    public double dot(Vertex b)

  - ### normalize

    public void normalize()

  - ### negate

    public void negate()

  - ### length

    public double length()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`