Normalizes v if |v| > 0. This normalization is slightly different from Vector3D.Normalize. Here we just divide by the length but Vector3D.Normalize tries to avoid overflow when finding the length.

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static bool TryNormalize(
	ref Vector3D v
)
Visual Basic
Public Shared Function TryNormalize ( _
	ByRef v As Vector3D _
) As Boolean
JScript
public static function TryNormalize(
	v : Vector3D
) : boolean

Parameters

v
Type: System.Windows.Media.Media3D..::..Vector3D%
The vector to normalize

Return Value

'true' if v was normalized

See Also