Mirror Class

Mirror transformation.
Public Class Mirror 
Inherits Transformation
This language is not supported or no code example is available.
public class Mirror : Transformation
This language is not supported or no code example is available.
Name Description
Public constructor Mirror(Plane) Standard constructor.
Public constructor Mirror(SerializationInfo, StreamingContext) Constructor for deserializing objects.
Top
Name Description
Public property IsScaled Checks if the transformation contains scaling. (inherited from Transformation).
Public property IsTranslation Checks if the transformation is translation only. (inherited from Transformation).
Public property Item(int, int) Direct access on matrix values. (inherited from Transformation).
Public property Matrix Gets or sets the 4x4 matrix. (inherited from Transformation).
Public property MatrixAsVectorByColumn Gets the 4x4 matrix as an array of doubles ordered by column. (inherited from Transformation).
Public property MatrixAsVectorByRow Gets the 4x4 matrix as an array of doubles ordered by row. (inherited from Transformation).
Public property MatrixAsVectorFloatByColumn (inherited from Transformation).
Public property ScaleFactorX Gets the scale factor along X. (inherited from Transformation).
Public property ScaleFactorY Gets the scale factor along Y. (inherited from Transformation).
Public property ScaleFactorZ Gets the scale factor along Z. (inherited from Transformation).
Top
Methods
 
Name Description
Public method ActOnLeft(double, double, double, double) (inherited from Transformation).
Public method ActOnLeftOne(double, double, double) (inherited from Transformation).
Public method Static ActOnLeftOne(float, float, float, float[,]) (inherited from Transformation).
Public method ActOnLeftZero(double, double, double) (inherited from Transformation).
Public method Static ActOnLeftZero(float, float, float, float[,]) (inherited from Transformation).
Public method Static AutocadOCS(Vector3D, out Vector3D, out Vector3D) (inherited from Transformation).
Public method ChangeBasis(Plane, Plane) Computes a change of basis transformation. (inherited from Transformation).
Public method ChangeBasis(Point3D, Vector3D, Vector3D, Vector3D, Point3D, Vector3D, Vector3D, Vector3D) Computes a change of basis transformation. (inherited from Transformation).
Public method ChangeBasis(Vector3D, Vector3D, Vector3D, Vector3D, Vector3D, Vector3D) Computes a change of basis transformation. (inherited from Transformation).
Public method Clone() Creates a deep copy of this transformation. (inherited from Transformation).
Public method ConvertToSurrogate() (inherited from Transformation).
Public method Diagonal(double) Diagonal 3x3 with bottom row = 0,0,0,1. (inherited from Transformation).
Public method Dump() Dumps the matrix on Console window. (inherited from Transformation).
Public method EqualScaleFactors() (inherited from Transformation).
Protected method Equals(Transformation) (inherited from Transformation).
Public method Equals(object) Determines whether the specified object is equal to the current object. (inherited from Transformation).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method GetFloatMatrix() (inherited from Transformation).
Public method GetHashCode() Serves as the default hash function. (inherited from Transformation).
Public method GetObjectData(SerializationInfo, StreamingContext) Populates a SerializationInfo instance with the data needed to serialize the target object.
Public method GetTransformationForNormals() Gets the transformation to transform the normals (inverse transpose of the upper 3x3 matrix). (inherited from Transformation).
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method GetXElement() (inherited from Transformation).
Public method Identity() Diagonal is (1,1,1,1). (inherited from Transformation).
Public method Invert() Inverts the 4x4 matrix. (inherited from Transformation).
Public method IsIdentity() Check if the transformation is the 'Identity' one. 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 (inherited from Transformation).
Public method IsIdentity(double) Check if the transformation is the 'Identity' one. 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 (inherited from Transformation).
Public method IsReversed() Returns true if the transformation is orientation-reversing, i.e. if the determinant of the 3x3 submatrix is smaller than zero. (inherited from Transformation).
Public method IsScaleFactorUniform() Returns true if the scale factor of the transformation is the same in the X, Y and Z directions. (inherited from Transformation).
Public method IsScaleFactorUniformForPlanar(Plane, ref double) Returns true if the scale factor of the transformation is the same in the two directions of the plane. (inherited from Transformation).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Mirror(Plane) Mirror transformation. (inherited from Transformation).
Public method Mirror(Point3D, Vector3D) Mirror transformation. (inherited from Transformation).
Public method PlanarProjection(Plane) Get transformation that projects to a plane. This transformation maps a 3D point P to the point plane.ClosestPointTo(Q). (inherited from Transformation).
Public method Rotation(Vector3D, Vector3D, Vector3D, Vector3D, Vector3D, Vector3D)

Creates a new transformation of rotation.

The frames should be right hand orthonormal frames (unit vectors with Z = X X Y). The resulting rotation fixes the origin (0,0,0), maps initial X to final X, initial Y to final Y, and initial Z to final Z.

(inherited from Transformation).
Public method Rotation(Point3D, Vector3D, Vector3D, Vector3D, Point3D, Vector3D, Vector3D, Vector3D)

Creates a new transformation of rotation.

The frames should be right hand orthonormal frames (unit vectors with Z = X X Y). The resulting rotation fixes the origin (0,0,0), maps initial X to final X, initial Y to final Y, and initial Z to final Z.

If the initial and final center are equal, then that center point is the fixed point of the rotation. If the initial and final point differ, then the resulting transform is the composition of a rotation fixing P0 and translation from P0 to P1. The resulting transformation maps P0 to P1, P0+X0 to P1+X1, ...

(inherited from Transformation).
Public method Rotation(Plane, Plane)

Creates a new transformation of rotation.

The frames should be right hand orthonormal frames (unit vectors with Z = X X Y). The resulting rotation fixes the origin (0,0,0), maps initial X to final X, initial Y to final Y, and initial Z to final Z.

If the initial and final center are equal, then that center point is the fixed point of the rotation. If the initial and final point differ, then the resulting transform is the composition of a rotation fixing P0 and translation from P0 to P1. The resulting transformation maps P0 to P1, P0+X0 to P1+X1, ...

(inherited from Transformation).
Public method Rotation(Vector3D, Vector3D, Point3D) Creates a new transformation of rotation. (inherited from Transformation).
Public method Rotation(double, Point3D, Point3D) Creates a new transformation of rotation. (inherited from Transformation).
Public method Rotation(double, Vector3D) Creates a new transformation of rotation. (inherited from Transformation).
Public method Rotation(double, Vector3D, Point3D) Creates a new transformation of rotation. (inherited from Transformation).
Public method Scaling(Point3D, double) Create uniform scale transformation with a specified fixed point. (inherited from Transformation).
Public method Scaling(Point3D, double, double, double) Create a non-uniform scale transformation with a specified fixed point. (inherited from Transformation).
Public method Scaling(Vector3D) Creates non-uniform scale transformation with the origin as a fixed point. (inherited from Transformation).
Public method Scaling(double, double, double) Creates non-uniform scale transformation with the origin as a fixed point. (inherited from Transformation).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Translation(Vector3D) Creates a new transformation of translation. Right column is (v.X, v.Y, v.Z, 1). (inherited from Transformation).
Public method Translation(double, double, double) Creates a new transformation of translation. Right column is (dx, dy, dz, 1). (inherited from Transformation).
Public method Transpose() Transposes the 4x4 matrix. (inherited from Transformation).
Public method Zero() All zeros. (inherited from Transformation).
Top
Name Description
Operator Static Addition Adds two transformations. (inherited from Transformation).
Operator Static Equality (inherited from Transformation).
Operator Static Inequality (inherited from Transformation).
Operator Static Multiply Applies transformation to a 2D point. (inherited from Transformation).
Operator Static Multiply Applies transformation to a 3D point. (inherited from Transformation).
Operator Static Multiply Applies transformation to a 4D point. (inherited from Transformation).
Operator Static Multiply Applies transformation to a RGB point. (inherited from Transformation).
Operator Static Multiply (inherited from Transformation).
Operator Static Multiply Applies transformation to a 2D vector. (inherited from Transformation).
Operator Static Multiply Applies transformation to a 3D vector. (inherited from Transformation).
Operator Static Subtraction Subtract two transformations. (inherited from Transformation).
Top

.NET Framework

Supported in: 4.8

In this article

Definition