Click or drag to resize

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.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

VectorD3D
A new vector n+t*v, so that this vector is orthogonal to v (but not neccessarily normalized).
See Also