2025 Class
Changes 1
C

Transform2D

Description:
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.).
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Transform2D
public class Transform2D : IDisposable
Name Return Type Description Inherited From
C Transform2D(Transform2D) None The copy constructor.
C Transform2D(UV, UV, UV) None Constructs the transformation by specifying the vectors and the origin.
Name Return Type Description Inherited From
M AlmostEqual(Transform2D) Boolean Determines whether this transformation and the specified transformation are the same within the tolerance (1.0e-09).
M Assign(Transform2D) None Assigns values from the input transformation to this transformation.
M CreateIdentity() Transform2D Creates the identity transformation.
M Dispose() None Releases all resources used by the Transform2D
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetInverse() Transform2D Gets the inverse transformation of this transformation.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M Multiply(Transform2D) Transform2D Multiplies this transformation by the specified transformation and returns the result.
M OfPoint(UV) UV Applies the transformation to the point and returns the result.
M OfVector(UV) UV Applies the transformation to the vector and returns the result.
M PostScale(Double) Transform2D Scales both the linear and translational parts of this transformation and returns the result.
M PreScale(Double) Transform2D Scales the linear part of this transformation and returns the result.
M SetToIdentity() Transform2D Set this TrfUV to the identity transform.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
M TransformUVDomainIfPossible(BoundingBoxUV) BoundingBoxUV Transforms an envelope ( BoundingBoxUV ) for one surface to an envelope for a coincident but differently parameterized surface.
Name Return Type Description Inherited From
P BasisU UV The image of (1, 0) under OfVector(UV) .
P BasisV UV The image of (0, 1) under OfVector(UV) .
P Determinant double The determinant of this transformation.
P HasReflection bool The boolean value that indicates whether this transformation produces reflection (i.e., is orientation-reversing).
P IsConformal bool The boolean value that indicates whether this transformation is conformal.
P IsIdentity bool The boolean value that indicates whether this transformation is an identity.
P IsTranslation bool The boolean value that indicates whether this transformation is a translation.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P Origin UV The image of (0, 0) under OfPoint(UV) . This defines the translational part of the transform.
P Scale double The real number that represents the scale of the conformal transformation.