Exportar (0) Imprimir
Expandir todo

Vector3D.Length (Propiedad)

Gets the length of this Vector3D structure.

Espacio de nombres: System.Windows.Media.Media3D
Ensamblado: PresentationCore (en presentationcore.dll)
Espacio de nombres XML:  http://schemas.microsoft.com/winfx/2006/xaml/presentation

public double Length { get; }
/** @property */
public double get_Length ()

public function get Length () : double

No se puede utilizar esta propiedad en XAML.

Valor de propiedad

The length of this Vector3D structure.

The length of a Vector3D is sometimes referred to as the magnitude.

The following example shows how to get the length of a Vector3D structure.

// Gets the length of a Vector3D.  
// Returns a Double.

Vector3D vector1 = new Vector3D(20, 30, 40);
Double length;

length = vector1.Length;
// length is approximately equal to 53.85165

Microsoft .NET Framework 3.0 es compatible con Windows Vista, Microsoft Windows XP SP2 y Windows Server 2003 SP1.

.NET Framework

Compatible con: 3.0

Adiciones de comunidad

AGREGAR
Mostrar:
© 2014 Microsoft