Matrix3D.Transform 方法

定義

依目前的 Point3D 轉換指定的 Point4D、Point3D 物件陣列、Vector3D、Point4D 物件陣列、Matrix3D 或 Vector3D 物件陣列。Transforms the specified Point3D, array of Point3D objects, Point4D, array of Point4D objects, Vector3D, or array of Vector3D objects by the current Matrix3D.

多載

Transform(Point3D)

Point3D 轉換指定的 Matrix3D 並傳回結果。Transforms the specified Point3D by the Matrix3D and returns the result.

Transform(Point3D[])

Point3D 轉換陣列中的所指定 Matrix3DTransforms the specified Point3D objects in the array by the Matrix3D.

Transform(Point4D)

Point4D 轉換指定的 Matrix3D 並傳回結果。Transforms the specified Point4D by the Matrix3D and returns the result.

Transform(Point4D[])

Point4D 轉換陣列中的所指定 Matrix3D 並傳回結果。Transforms the specified Point4D objects in the array by the Matrix3D and returns the result.

Transform(Vector3D)

依這個 Vector3D 轉換指定的 Matrix3DTransforms the specified Vector3D by this Matrix3D.

Transform(Vector3D[])

依這個 Vector3D 轉換陣列中的所指定 Matrix3DTransforms the specified Vector3D objects in the array by this Matrix3D.

Transform(Point3D)

Point3D 轉換指定的 Matrix3D 並傳回結果。Transforms the specified Point3D by the Matrix3D and returns the result.

public:
 System::Windows::Media::Media3D::Point3D Transform(System::Windows::Media::Media3D::Point3D point);
public System.Windows.Media.Media3D.Point3D Transform (System.Windows.Media.Media3D.Point3D point);
member this.Transform : System.Windows.Media.Media3D.Point3D -> System.Windows.Media.Media3D.Point3D
Public Function Transform (point As Point3D) As Point3D

參數

point
Point3D

要轉換的 Point3D。Point3D to transform.

傳回

由這個 Matrix3D 轉換 point 的結果。The result of transforming point by this Matrix3D.

例外狀況

如果轉換不是仿射,則會擲回 InvalidOperationException。Throws InvalidOperationException if the transform is not affine.

Transform(Point3D[])

Point3D 轉換陣列中的所指定 Matrix3DTransforms the specified Point3D objects in the array by the Matrix3D.

public:
 void Transform(cli::array <System::Windows::Media::Media3D::Point3D> ^ points);
public void Transform (System.Windows.Media.Media3D.Point3D[] points);
member this.Transform : System.Windows.Media.Media3D.Point3D[] -> unit
Public Sub Transform (points As Point3D())

參數

points
Point3D[]

要轉換的 Point3D 物件。Point3D objects to transform. 陣列中的原始點由其轉換值取代。The original points in the array are replaced by their transformed values.

例外狀況

如果轉換不是仿射,則會擲回 InvalidOperationException。Throws InvalidOperationException if the transform is not affine.

Transform(Point4D)

Point4D 轉換指定的 Matrix3D 並傳回結果。Transforms the specified Point4D by the Matrix3D and returns the result.

public:
 System::Windows::Media::Media3D::Point4D Transform(System::Windows::Media::Media3D::Point4D point);
public System.Windows.Media.Media3D.Point4D Transform (System.Windows.Media.Media3D.Point4D point);
member this.Transform : System.Windows.Media.Media3D.Point4D -> System.Windows.Media.Media3D.Point4D
Public Function Transform (point As Point4D) As Point4D

參數

point
Point4D

要轉換的 Point4DPoint4D to transform.

傳回

由這個 Matrix3D 轉換 point 的結果。The result of transforming point by this Matrix3D.

Transform(Point4D[])

Point4D 轉換陣列中的所指定 Matrix3D 並傳回結果。Transforms the specified Point4D objects in the array by the Matrix3D and returns the result.

public:
 void Transform(cli::array <System::Windows::Media::Media3D::Point4D> ^ points);
public void Transform (System.Windows.Media.Media3D.Point4D[] points);
member this.Transform : System.Windows.Media.Media3D.Point4D[] -> unit
Public Sub Transform (points As Point4D())

參數

points
Point4D[]

要轉換的 Point4D 物件。Point4D objects to transform. 陣列中的原始點由其轉換值取代。The original points in the array are replaced by their transformed values.

Transform(Vector3D)

依這個 Vector3D 轉換指定的 Matrix3DTransforms the specified Vector3D by this Matrix3D.

public:
 System::Windows::Media::Media3D::Vector3D Transform(System::Windows::Media::Media3D::Vector3D vector);
public System.Windows.Media.Media3D.Vector3D Transform (System.Windows.Media.Media3D.Vector3D vector);
member this.Transform : System.Windows.Media.Media3D.Vector3D -> System.Windows.Media.Media3D.Vector3D
Public Function Transform (vector As Vector3D) As Vector3D

參數

vector
Vector3D

要轉換的 Vector3DVector3D to transform.

傳回

由這個 Matrix3D 轉換 vector 的結果。The result of transforming vector by this Matrix3D.

Transform(Vector3D[])

依這個 Vector3D 轉換陣列中的所指定 Matrix3DTransforms the specified Vector3D objects in the array by this Matrix3D.

public:
 void Transform(cli::array <System::Windows::Media::Media3D::Vector3D> ^ vectors);
public void Transform (System.Windows.Media.Media3D.Vector3D[] vectors);
member this.Transform : System.Windows.Media.Media3D.Vector3D[] -> unit
Public Sub Transform (vectors As Vector3D())

參數

vectors
Vector3D[]

要轉換的 Vector3D 物件。Vector3D objects to transform. 陣列中的原始 Vector3D 物件會被轉換後的值取代。The original Vector3D objects in the array are replaced by their transformed values.

適用於