GeneralTransform3D.TryTransform(Point3D, Point3D) GeneralTransform3D.TryTransform(Point3D, Point3D) GeneralTransform3D.TryTransform(Point3D, Point3D) GeneralTransform3D.TryTransform(Point3D, Point3D) Method

Definición

Cuando se invalida en una clase derivada, intenta transformar el punto 3D especificado y devuelve un valor que indica si la transformación fue correcta.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 *  -> bool
Public MustOverride Function TryTransform (inPoint As Point3D, ByRef result As Point3D) As Boolean

Parámetros

inPoint
Point3D Point3D Point3D Point3D

Punto 3D que se va a transformar.The 3-D point to transform.

result
Point3D Point3D Point3D Point3D

Resultado de transformar inPoint.The result of transforming inPoint.

Devoluciones

Es true si se transformó inPoint; de lo contrario, es false.true if inPoint was transformed; otherwise, false.

Comentarios

A diferencia de la Transform método, este método no produce una excepción si la transformación se realiza correctamente.Unlike the Transform method, this method does not throw an exception if the transformation is unsuccessful.

TryTransform se introdujo en .NET Framework versión 3.5.TryTransform is introduced in the .NET Framework version 3.5. Para más información, vea Versiones y dependencias.For more information, see Versions and Dependencies.

Se aplica a