Matrix3D.Transform Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
Transform(Vector3D[]) |
Transforms the specified Vector3D objects in the array by this Matrix3D. |
Transform(Point3D)
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[])
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)
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
Returns
The result of transforming point
by this Matrix3D.
Applies to
Transform(Point4D[])
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)
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
Returns
The result of transforming vector
by this Matrix3D.
Applies to
Transform(Vector3D[])
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.