This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IV > IVector Interface > IVector.Normalize Method (ArcObjects .NET 10.5 SDK) |
Normalize the vector (scale it to magnitude=1).
[Visual Basic .NET]
Public Sub Normalize ( _
)
[C#] public void Normalize ( );
[C++]
HRESULT Normalize(
void
);
Normalizes the Vector to a unit vector with Magnitude=1 and the same direction as the original vector.
Normalize is the same as Scaling the vector by 1 / Magnitude.