M_Rhino_Geometry_Transform_Scale - mcneel/rhinocommon-api-docs GitHub Wiki

Transform.Scale 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) Version: Rhino 6.0

Syntax

C#

public static Transform Scale(
	Plane plane,
	double xScaleFactor,
	double yScaleFactor,
	double zScaleFactor
)

VB

Public Shared Function Scale ( 
	plane As Plane,
	xScaleFactor As Double,
	yScaleFactor As Double,
	zScaleFactor As Double
) As Transform

Parameters

 

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

Return Value

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

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Transform Structure
Scale Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️