Click or drag to resize

TransformScale Method (Plane, Double, Double, Double)

Constructs a new non-uniform scaling transformation with a specified scaling anchor point.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Transform Scale(
	Plane plane,
	double xScaleFactor,
	double yScaleFactor,
	double zScaleFactor
)

Parameters

plane
Type: Rhino.GeometryPlane
Defines the center and orientation of the scaling operation.
xScaleFactor
Type: SystemDouble
Scaling factor along the anchor plane X-Axis direction.
yScaleFactor
Type: SystemDouble
Scaling factor along the anchor plane Y-Axis direction.
zScaleFactor
Type: SystemDouble
Scaling factor along the anchor plane Z-Axis direction.

Return Value

Type: Transform
A transformation matrix which scales geometry non-uniformly.
See Also