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
Syntaxpublic static Transform2d FromAffineElements(
double a,
double b,
double c,
double d,
double tx,
double ty
)
Public Shared Function FromAffineElements (
a As Double,
b As Double,
c As Double,
d As Double,
tx As Double,
ty As Double
) As Transform2d
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:
Transform2dThe equivalent transform.
See Also