Transform3D.TryTransform(Point3D, Point3D) Method

Definition

Attempts to transform the specified 3-D point and returns a value that indicates whether the transformation was successful.

C#
public override bool TryTransform(System.Windows.Media.Media3D.Point3D inPoint, out System.Windows.Media.Media3D.Point3D result);

Parameters

inPoint
Point3D

The 3-D point to transform.

result
Point3D

The result of transforming inPoint.

Returns

true if inPoint was transformed; otherwise, false.

Remarks

Unlike the Transform method, this method does not throw an exception if the transformation is unsuccessful.

TryTransform is introduced in the .NET Framework version 3.5. For more information, see Versions and Dependencies.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10