Struct Matrix3D
Represents the matrix 4x4.
Inherited Members
Namespace: Syncfusion.UI.Xaml.Charts
Assembly: Syncfusion.SfChart.WPF.dll
Syntax
public struct Matrix3D
Constructors
Matrix3D(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Matrix3D struct.
Declaration
public Matrix3D(double m11, double m12, double m13, double m14, double m21, double m22, double m23, double m24, double m31, double m32, double m33, double m34, double m41, double m42, double m43, double m44)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | m11 | The M11 element of matrix. |
| System.Double | m12 | The M12 element of matrix. |
| System.Double | m13 | The M13 element of matrix. |
| System.Double | m14 | The M14 element of matrix. |
| System.Double | m21 | The M21 element of matrix. |
| System.Double | m22 | The M22 element of matrix. |
| System.Double | m23 | The M23 element of matrix. |
| System.Double | m24 | The M24 element of matrix. |
| System.Double | m31 | The M31 element of matrix. |
| System.Double | m32 | The M32 element of matrix. |
| System.Double | m33 | The M33 element of matrix. |
| System.Double | m34 | The M34 element of matrix. |
| System.Double | m41 | The M41 element of matrix. |
| System.Double | m42 | The M42 element of matrix. |
| System.Double | m43 | The M43 element of matrix. |
| System.Double | m44 | The M44 element of matrix. |
Properties
Identity
Gets the identity matrix.
Declaration
public static Matrix3D Identity { get; }
Property Value
| Type | Description |
|---|---|
| Matrix3D | The identity matrix. |
IsAffine
Gets a value indicating whether this matrix is affine.
Declaration
public bool IsAffine { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Item[Int32, Int32]
Gets or sets the System.Double with the specified column and row.
Declaration
public double this[int i, int j] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | i | The I Value |
| System.Int32 | j | The J Value |
Property Value
| Type | Description |
|---|---|
| System.Double | Returns the value at the specified location. |
Methods
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj | Another object to compare to. |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if object and this instance are the same type and represent the same value; otherwise, false. |
Overrides
GetD(Matrix3D)
Gets the determinant.
Declaration
public static double GetD(Matrix3D matrix3D)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | matrix3D | The matrix. |
Returns
| Type | Description |
|---|---|
| System.Double | Returns the determinant of the matrix. |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 | A 32-bit signed integer that is the hash code for this instance. |
Overrides
GetIdentity()
Gets the identity matrix.
Declaration
public static Matrix3D GetIdentity()
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the identity matrix. |
Shear(Double, Double, Double, Double, Double, Double)
Shears the specified values.
Declaration
public static Matrix3D Shear(double xy, double xz, double yx, double yz, double zx, double zy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | xy | The x y shear. |
| System.Double | xz | The x z shear. |
| System.Double | yx | The y x shear. |
| System.Double | yz | The y z shear. |
| System.Double | zx | The z x shear. |
| System.Double | zy | The z y shear. |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the sheared values. |
Tilt(Double)
Tilts by the specified angle.
Declaration
public static Matrix3D Tilt(double angle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | angle | The angle. |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the resultant turn matrix. |
Transform(Double, Double, Double)
Transforms the specified vector.
Declaration
public static Matrix3D Transform(double x, double y, double z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | The X coordinate. |
| System.Double | y | The Y coordinate. |
| System.Double | z | The Z coordinate. |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the transformed matrix. |
Transposed(Matrix3D)
Transposes the specified matrix.
Declaration
public static Matrix3D Transposed(Matrix3D matrix3D)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | matrix3D | The matrix. |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the transposed matrix. |
Turn(Double)
Turns by the specified angle.
Declaration
public static Matrix3D Turn(double angle)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | angle | The angle. |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the resultant turn matrix. |
Operators
Addition(Matrix3D, Matrix3D)
Add the matrixes.
Declaration
public static Matrix3D operator +(Matrix3D m1, Matrix3D m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Matrix3D | m2 | The Second Matrix |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the result of the operator. |
BitwiseAnd(Matrix3D, Vector3D)
Method used to returns x, y, z values.
Declaration
public static Vector3D operator &(Matrix3D m1, Vector3D v1)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Vector3D | v1 | The Three Dimensional Vector |
Returns
| Type | Description |
|---|---|
| Vector3D | Returns the result of the operator. |
Equality(Matrix3D, Matrix3D)
Gets the equality check System.Boolean value.
Declaration
public static bool operator ==(Matrix3D m1, Matrix3D m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Matrix3D | m2 | The Second Matrix |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns the result of the operator. |
Inequality(Matrix3D, Matrix3D)
Gets the matrix equality System.Boolean value.
Declaration
public static bool operator !=(Matrix3D m1, Matrix3D m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Matrix3D | m2 | The Second Matrix |
Returns
| Type | Description |
|---|---|
| System.Boolean | Returns the result of the operator. |
Multiply(Matrix3D, Matrix3D)
Gets the multiplied matrix values.
Declaration
public static Matrix3D operator *(Matrix3D m1, Matrix3D m2)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Matrix3D | m2 | The Second Matrix |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the result of the operator. |
Multiply(Matrix3D, Vector3D)
Method used to returns x, y, z values.
Declaration
public static Vector3D operator *(Matrix3D m1, Vector3D point)
Parameters
| Type | Name | Description |
|---|---|---|
| Matrix3D | m1 | The First Matrix |
| Vector3D | point | The Three Dimensional Vector |
Returns
| Type | Description |
|---|---|
| Vector3D | Returns the result of the operator. |
Multiply(Double, Matrix3D)
Gets the multiplied matrix values.
Declaration
public static Matrix3D operator *(double f1, Matrix3D m1)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | f1 | The Double Value |
| Matrix3D | m1 | The Matrix |
Returns
| Type | Description |
|---|---|
| Matrix3D | Returns the result of the operator. |