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)
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.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.5
See Also