Edytuj

Udostępnij za pośrednictwem


GeneralTransform3D.TryTransform(Point3D, Point3D) Method

Definition

When overridden in a derived class, attempts to transform the specified 3-D point and returns a value that indicates whether the transformation was successful.

public:
 abstract bool TryTransform(System::Windows::Media::Media3D::Point3D inPoint, [Runtime::InteropServices::Out] System::Windows::Media::Media3D::Point3D % result);
public abstract bool TryTransform (System.Windows.Media.Media3D.Point3D inPoint, out System.Windows.Media.Media3D.Point3D result);
abstract member TryTransform : System.Windows.Media.Media3D.Point3D * Point3D -> bool
Public MustOverride 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