共用方式為


Vector3D.Explicit 運算子

定義

Vector3D 結構轉換為 Point3D 結構或 Size3D

多載

Explicit(Vector3D to Point3D)

Vector3D 結構轉換成 Point3D 結構。

Explicit(Vector3D to Size3D)

Vector3D 結構轉換為 Size3D

Explicit(Vector3D to Point3D)

Vector3D 結構轉換成 Point3D 結構。

public:
 static explicit operator System::Windows::Media::Media3D::Point3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Point3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Point3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Point3D

參數

vector
Vector3D

要轉換的向量。

傳回

轉換 vector 的結果。

適用於

Explicit(Vector3D to Size3D)

Vector3D 結構轉換為 Size3D

public:
 static explicit operator System::Windows::Media::Media3D::Size3D(System::Windows::Media::Media3D::Vector3D vector);
public static explicit operator System.Windows.Media.Media3D.Size3D (System.Windows.Media.Media3D.Vector3D vector);
static member op_Explicit : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Size3D
Public Shared Narrowing Operator CType (vector As Vector3D) As Size3D

參數

vector
Vector3D

要轉換的向量。

傳回

轉換 vector 的結果。

備註

Size3D因為結構不能是負數,所以會使用 結構的 絕對 YXZ 屬性 Vector3D

適用於