Math3DGetNormalizedVectorOrthogonalToVector Method |
Makes a given vector n orthogonal to another vector v. This is done by adding a fraction of v to n, so that the new vector is orthogonal to v.
After this, the vector is normalized.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static VectorD3D GetNormalizedVectorOrthogonalToVector(
VectorD3D n,
VectorD3D v
)
Parameters
- n VectorD3D
- Given vector.
- v VectorD3D
- A vector, to which the returned vector should be perpendicular.
Return Value
VectorD3DA new vector n+t*v, so that this vector is orthogonal to v and normalized.
See Also