Skip to content

Transform1D(Double, Double)

Public Constructor

Constructs the transformation by specifying the scale and the translation.

Namespace: Autodesk.Revit.DB

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

Syntax

public Transform1D(
double scale,
double translation
)

Parameters

scaleDouble

The scale of the transformation.

translationDouble

The translational part of the transformation.

Remarks

1D space is tranformed according to the following formula: t —> scale*t + translation