Transform2dTranslation Method (Double, Double) |
Constructs a new translation (move) transformation.
Right column is (dx, dy).
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static Transform2d Translation(
double dx,
double dy
)
Public Shared Function Translation (
dx As Double,
dy As Double
) As Transform2d
Parameters
- dx
- Type: SystemDouble
Distance to translate (move) geometry along the world X axis. - dy
- Type: SystemDouble
Distance to translate (move) geometry along the world Y axis.
Return Value
Type:
Transform2dA transform matrix which moves geometry with the specified distances.
See Also