M_Rhino_Geometry_Transform_Scale - mcneel/rhinocommon-api-docs GitHub Wiki
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
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
- 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.
Type: Transform
A transformation matrix which scales geometry non-uniformly.
Supported in: 6.0.16224.21491, 5D58w