Transform2dTranslation Method (Vector2d) |
Constructs a new translation (move) transformation.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic static Transform2d Translation(
Vector2d motion
)
Public Shared Function Translation (
motion As Vector2d
) As Transform2d
Parameters
- motion
- Type: Rhino.GeometryVector2d
Translation (motion) vector.
Return Value
Type:
Transform2dA transform matrix which moves geometry along the motion vector.
See Also