Constructs the transformation by specifying the scale and the translation.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2021
Syntax
C# |
---|
public Transform1D( double scale, double translation ) |
Visual Basic |
---|
Public Sub New ( _ scale As Double, _ translation As Double _ ) |
Visual C++ |
---|
public: Transform1D( double scale, double translation ) |
Parameters
- scale
- Type: System..::..Double
The scale of the transformation.
- translation
- Type: System..::..Double
The translational part of the transformation.
Remarks
1D space is tranformed according to the following formula: t --> scale*t + translation