Class Transform3D
Provides a parent class for all three-dimensional transformations, including translation, rotation, and scale transformations.
Inherited Members
Namespace: Telerik.Windows.Media.Media3D
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class Transform3D : GeneralTransform3D, INotifyPropertyChanged
Constructors
Transform3D()
Initializes a new instance of the Transform3D class.
Declaration
protected Transform3D()
Properties
Identity
Gets the identity transformation.
Declaration
public static Transform3D Identity { get; }
Property Value
Transform3D
|
Inverse
Gets the inverse transformation of this object, if possible.
Declaration
public override GeneralTransform3D Inverse { get; }
Property Value
GeneralTransform3D
An inverse of this instance, if possible; otherwise, null reference (Nothing in Visual Basic). |
Overrides
IsAffine
Gets a value that specifies whether the matrix is affine.
Declaration
public bool IsAffine { get; }
Property Value
System.Boolean
|
TransformMatrix
Transformation matrix. Subclasses should change the way this matrix is calculated.
Declaration
protected Matrix3D TransformMatrix { get; set; }
Property Value
Matrix3D
|
Value
Gets the Matrix3D that represents the value of the current transformation.
Declaration
public Matrix3D Value { get; }
Property Value
Matrix3D
|
Methods
ToString()
Creates a String representation of this Transform3D class.
Declaration
public override string ToString()
Returns
System.String
String containing the transformation matrix. |
ToString(IFormatProvider)
Creates a String representation of this Transform3D class.
Declaration
public string ToString(IFormatProvider provider)
Parameters
System.IFormatProvider
provider
The culture-specific formatting information. |
Returns
System.String
A String containing the transformation matrix. |
Transform(Point3D)
Transforms the specified Point3D.
Declaration
public override Point3D Transform(Point3D point)
Parameters
Point3D
point
Point3D to transform. |
Returns
Point3D
Transformed Point3D. |
Overrides
Transform(Point3D[])
Transforms the specified array of Point3D objects.
Declaration
public void Transform(Point3D[] points)
Parameters
Point3D[]
points
Array of Point3D objects to transform. |
Transform(Vector3D)
Transforms the specified Vector3D.
Declaration
public Vector3D Transform(Vector3D vector)
Parameters
Vector3D
vector
Vector3D to transform. |
Returns
Vector3D
Transformed Vector3D. |
Transform(Vector3D[])
Transforms the specified array of Vector3D objects.
Declaration
public void Transform(Vector3D[] vectors)
Parameters
Vector3D[]
vectors
Array of Vector3D objects to transform. |
TransformBounds(Rect3D)
Transforms the specified 3-D bounding box and returns an axis-aligned 3-D bounding box that is exactly large enough to contain it.
Declaration
public override Rect3D TransformBounds(Rect3D rect)
Parameters
Rect3D
rect
The 3-D bounding box to transform. |
Returns
Rect3D
The smallest axis-aligned 3-D bounding box possible that contains the transformed Rect3D. |
Overrides
TryTransform(Point3D, out Point3D)
Attempts to transform the specified 3-D point and returns a value that indicates whether the transformation was successful.
Declaration
public override bool TryTransform(Point3D pointIn, out Point3D result)
Parameters
Point3D
pointIn
The 3-D point to transform. |
Point3D
result
The result of transforming inPoint. |
Returns
System.Boolean
true if pointIn was transformed; otherwise, false. |