Vector3D.Length Vector3D.Length Vector3D.Length Vector3D.Length Property

정의

Vector3D 구조체의 길이를 가져옵니다.Gets the length of this Vector3D structure.

public:
 property double Length { double get(); };
public double Length { get; }
member this.Length : double
Public ReadOnly Property Length As Double

속성 값

Vector3D 구조체의 길이입니다.The length of this Vector3D structure.

예제

다음 예제에는 길이 가져오는 방법을 보여 줍니다는 Vector3D 구조입니다.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
' Gets the length of a Vector3D.  
' Returns a Double.

Dim vector1 As New Vector3D(20, 30, 40)
Dim length As Double

length = vector1.Length
' length is approximately equal to 53.85165

설명

길이 Vector3D 크기가 라고도 합니다.The length of a Vector3D is sometimes referred to as the magnitude.

적용 대상