Click or drag to resize

Math3DGetVectorOrthogonalToVector Method

Makes a given vector n orthogonal to another vector v by subtracting a fraction of v from n.

Namespace: Altaxo.Geometry
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.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 that is orthogonal to v (not necessarily normalized).
See Also