Vector::LengthSquared Property

 

Gets the square of the length of this vector.

Namespace:   System.Windows
Assembly:  WindowsBase (in WindowsBase.dll)

public:
property double LengthSquared {
	double get();
}

Property Value

Type: System::Double

The square of the Length of this vector.

The length of a vector is sometimes referred to as its magnitude.

The following example shows how to use this property to get the square of the length of a vector.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: