Skip to content

Transform1D

Public Class

An affine transform of 1D Euclidean space.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Transform1D

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class Transform1D : IDisposable

The Transform1D type exposes the following members.

Constructors

Name

Description


Public Method
Transform1D(Double)

Constructs the transformation by specifying the scale only.


Public Method
Transform1D(Transform1D)

The copy constructor.


Public Method
Transform1D(Double, Double)

Constructs the transformation by specifying the scale and the translation.


Properties

Name

Description


Public Property

The determinant of this transformation.


Public Property
IsIdentity

The boolean value that indicates whether this transformation is an identity.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The real number that represents the scale of this transformation.


Public Property

The translational part of this transformation.


Methods

Name

Description


Public Method
AlmostEqual

Determines whether this transformation and the specified transformation are the same within the tolerance (1.0e-09).


Public Method

Assigns values from the input transformation to this transformation.


Public Method

Releases all resources used by the Transform1D


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
GetInverse

Gets the inverse transformation of this transformation.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
Multiply

Multiplies this transformation by the specified transformation and returns the result.


Public Method
OfPoint

Applies the transformation to the 1-dimensional point and returns the result.


Public Method
OfVector

Applies the transformation to the 1-dimensional vector (a “tangent vector” on the real line) and returns the result.


Public Method

Set this TrfUV to the identity transform


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Public Method
TransformParameterDomain

Performs a transform of the parameter range defined by domain, and ensures that the domain is ordered correctly.


Remarks

An affine transform is a linear transform plus a translation (which may be zero). 1D space is tranformed according to the following formula: t -> A*t + B where A and B are constants. Some functions only accept certain kinds of transform (e.g., rigid motion, conformal, non-singular, etc.).