# Uses of Class
org.eclipse.gef.geometry.projective.Vector3D

Packages that use Vector3D
Package
Description
org.eclipse.gef.geometry.projective
This package provides core abstractions to support calculations within 2-dimensional projective vector space.

## Uses of Vector3D in org.eclipse.gef.geometry.projective

Methods in org.eclipse.gef.geometry.projective that return Vector3D
Modifier and Type
Method
Description
`Vector3D`
Vector3D.`getAdded(Vector3D other)`
Returns a new `Vector3D` object with its components set to the sum of the individual x, y and z components of this `Vector3D` and the given other `Vector3D`.
`Vector3D`
Vector3D.`getCopy()`
Returns a copy of this `Vector3D`.
`Vector3D`
Vector3D.`getCrossProduct(Vector3D other)`
Returns a new `Vector3D` object that is the cross product of this and the given other `Vector3D`.
`Vector3D`
Straight3D.`getIntersection(Straight3D other)`
Returns the intersection between this and the given other `Straight3D`.
`Vector3D`
Vector3D.`getRatio(Vector3D other, double t)`
Returns a new `Vector3D` object with its components set to the given ratio between this `Vector3D` and the given other `Vector3D`.
`Vector3D`
Vector3D.`getScaled(double f)`
Returns a new `Vector3D` object with its components set to the x, y and z components of this `Vector3D` scaled by the given factor.
`Vector3D`
Vector3D.`getSubtracted(Vector3D other)`
Returns a new `Vector3D` object with its components set to the difference of the individual x, y and z components of this `Vector3D` and the given other `Vector3D`.
Methods in org.eclipse.gef.geometry.projective with parameters of type Vector3D
Modifier and Type
Method
Description
`Vector3D`
Vector3D.`getAdded(Vector3D other)`
Returns a new `Vector3D` object with its components set to the sum of the individual x, y and z components of this `Vector3D` and the given other `Vector3D`.
`Vector3D`
Vector3D.`getCrossProduct(Vector3D other)`
Returns a new `Vector3D` object that is the cross product of this and the given other `Vector3D`.
`double`
Vector3D.`getDotProduct(Vector3D other)`
Returns the dot-product of this and the given other `Vector3D`.
`Straight3D`
Straight3D.`getOrtho(Vector3D vp)`
Returns the orthogonal `Straight3D` through the given `Vector3D`.
`Vector3D`
Vector3D.`getRatio(Vector3D other, double t)`
Returns a new `Vector3D` object with its components set to the given ratio between this `Vector3D` and the given other `Vector3D`.
`double`
Straight3D.`getSignedDistanceCW(Vector3D vp)`
Returns the clock-wise signed distance of the given `Vector3D` to this `Straight3D`.
`Vector3D`
Vector3D.`getSubtracted(Vector3D other)`
Returns a new `Vector3D` object with its components set to the difference of the individual x, y and z components of this `Vector3D` and the given other `Vector3D`.
`static Straight3D`
Straight3D.`through(Vector3D start, Vector3D end)`
Constructs a new `Straight3D` through the given start and end `Vector3D`s.