Transform2D
Description:
An affine transform of 2D Euclidean space.
An affine transform of 2D Euclidean space.
Remarks:
An affine transform is a linear transform plus a translation (which may be zero). Some functions only accept certain kinds of transform (e.g., rigid motion, conformal, non-singular, etc.).
An affine transform is a linear transform plus a translation (which may be zero). Some functions only accept certain kinds of transform (e.g., rigid motion, conformal, non-singular, etc.).
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Transform2D
System.Object
Autodesk.Revit.DB.Transform2D
public class Transform2D : IDisposable
| Name | Return Type | Description |
|---|---|---|
| Transform2D(Transform2D) | None | The copy constructor. |
| Transform2D(UV, UV, UV) | None | Constructs the transformation by specifying the vectors and the origin. |
| Name | Return Type | Description |
|---|---|---|
| AlmostEqual(Transform2D) | bool | Determines whether this transformation and the specified transformation are the same within the tolerance (1.0e-09). |
| Assign(Transform2D) | None | Assigns values from the input transformation to this transformation. |
| CreateIdentity() | The identity transformation. | Creates the identity transformation. |
| Dispose() | None | Releases all resources used by the |
| GetInverse() | Transform2D | Gets the inverse transformation of this transformation. |
| Multiply(Transform2D) | Transform2D | Multiplies this transformation by the specified transformation and returns the result. |
| OfPoint(UV) | The transformed point. | Applies the transformation to the point and returns the result. |
| OfVector(UV) | The transformed vector. | Applies the transformation to the vector and returns the result. |
| PostScale(Double) | Transform2D | Scales both the linear and translational parts of this transformation and returns the result. |
| PreScale(Double) | Transform2D | Scales the linear part of this transformation and returns the result. |
| SetToIdentity() | Transform2D | Set this TrfUV to the identity transform. |
| TransformUVDomainIfPossible(BoundingBoxUV) | BoundingBoxUV | Transforms an envelope () for one surface to an envelope for a coincident but differently parameterized surface. |
| Name | Return Type | Description |
|---|---|---|
| BasisU | UV | The image of (1, 0) under . |
| BasisV | UV | The image of (0, 1) under . |
| Determinant | double | The determinant of this transformation. |
| HasReflection | bool | The boolean value that indicates whether this transformation produces reflection (i.e., is orientation-reversing). |
| IsConformal | bool | The boolean value that indicates whether this transformation is conformal. |
| IsIdentity | bool | The boolean value that indicates whether this transformation is an identity. |
| IsTranslation | bool | The boolean value that indicates whether this transformation is a translation. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| Origin | UV | The image of (0, 0) under . This defines the translational part of the transform. |
| Scale | double | The real number that represents the scale of the conformal transformation. |