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.

public:
 override bool TryTransform(System::Windows::Media::Media3D::Point3D inPoint, [Runtime::InteropServices::Out] System::Windows::Media::Media3D::Point3D % result);
public override bool TryTransform (System.Windows.Media.Media3D.Point3D inPoint, out System.Windows.Media.Media3D.Point3D result);
override this.TryTransform : System.Windows.Media.Media3D.Point3D * Point3D -> bool
Public Overrides Function TryTransform (inPoint As Point3D, ByRef result As Point3D) As Boolean

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