Math3DGetVectorOrthogonalToVector 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.
Namespace: Altaxo.GeometryAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static VectorD3D GetVectorOrthogonalToVector(
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 (but not neccessarily normalized).
See Also