Click or drag to resize

Transform2dFromAffineElements Method (Double, Double, Double, Double, Double, Double)

Creates a transform from the six coefficients used by the traditional 2d drawing APIs. See the remarks on ToAffineElements.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public static Transform2d FromAffineElements(
	double a,
	double b,
	double c,
	double d,
	double tx,
	double ty
)

Parameters

a
Type: SystemDouble
Becomes M00.
b
Type: SystemDouble
Becomes M10.
c
Type: SystemDouble
Becomes M01.
d
Type: SystemDouble
Becomes M11.
tx
Type: SystemDouble
Becomes M02, the X translation.
ty
Type: SystemDouble
Becomes M12, the Y translation.

Return Value

Type: Transform2d
The equivalent transform.
See Also