Szerkesztés

Megosztás a következőn keresztül:


Matrix3D.Transform Method

Definition

Transforms the specified Point3D, array of Point3D objects, Point4D, array of Point4D objects, Vector3D, or array of Vector3D objects by the current Matrix3D.

Overloads

Transform(Point3D)

Transforms the specified Point3D by the Matrix3D and returns the result.

Transform(Point3D[])

Transforms the specified Point3D objects in the array by the Matrix3D.

Transform(Point4D)

Transforms the specified Point4D by the Matrix3D and returns the result.

Transform(Point4D[])

Transforms the specified Point4D objects in the array by the Matrix3D and returns the result.

Transform(Vector3D)

Transforms the specified Vector3D by this Matrix3D.

Transform(Vector3D[])

Transforms the specified Vector3D objects in the array by this Matrix3D.

Transform(Point3D)

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

Parameters

point
Point3D

Point3D to transform.

Returns

The result of transforming point by this Matrix3D.

Exceptions

Throws InvalidOperationException if the transform is not affine.

Applies to

Transform(Point3D[])

Transforms 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())

Parameters

points
Point3D[]

Point3D objects to transform. The original points in the array are replaced by their transformed values.

Exceptions

Throws InvalidOperationException if the transform is not affine.

Applies to

Transform(Point4D)

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

Parameters

point
Point4D

Point4D to transform.

Returns

The result of transforming point by this Matrix3D.

Applies to

Transform(Point4D[])

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())

Parameters

points
Point4D[]

Point4D objects to transform. The original points in the array are replaced by their transformed values.

Applies to

Transform(Vector3D)

Transforms 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

Parameters

vector
Vector3D

Vector3D to transform.

Returns

The result of transforming vector by this Matrix3D.

Applies to

Transform(Vector3D[])

Transforms 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())

Parameters

vectors
Vector3D[]

Vector3D objects to transform. The original Vector3D objects in the array are replaced by their transformed values.

Applies to