Package com.treemap.swing.originalfastvoronoi.convexHull

# Class JVector

java.lang.Object
com.treemap.swing.originalfastvoronoi.convexHull.JVector

public class JVector 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
  `JVector()`
  `JVector(double x, double y, double z)`
  `JVector(JVector a)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `JVector`
  `cross(JVector b)`
  `double`
  `dot(JVector b)`
  `double`
  `dot(JVertex b)`
  `double`
  `length()`
  `void`
  `negate()`
  `void`
  `normalize()`
  `JVector`
  `subtract(JVector 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

  - ### JVector

    public JVector()

  - ### JVector

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

  - ### JVector

    public JVector(JVector a)

- ## Method Details

  - ### subtract

    public JVector subtract(JVector b)

  - ### cross

    public JVector cross(JVector b)

  - ### dot

    public double dot(JVector b)

  - ### dot

    public double dot(JVertex b)

  - ### normalize

    public void normalize()

  - ### negate

    public void negate()

  - ### length

    public double length()

  - ### toString

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