Click or drag to resize
AB4D logo

MathUtilsGetPerpendicularVectors Method

Calculate two vectors that are perpendicular to the inputVector. Both calculated vectors are normalized.

Namespace:  Ab3d.Utilities
Assembly:  Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 9.5.7760.1045
Syntax
C#
public static void GetPerpendicularVectors(
	Vector3D inputVector,
	out Vector3D p1,
	out Vector3D p2
)

Parameters

inputVector
Type: System.Windows.Media.Media3DVector3D
input vector
p1
Type: System.Windows.Media.Media3DVector3D
first perpendicular vector (normalized)
p2
Type: System.Windows.Media.Media3DVector3D
second perpendicular vector (normalized)
See Also