M_Rhino_Geometry_Transform_Scale_1 - mcneel/rhinocommon-api-docs GitHub Wiki

Transform.Scale Method (Point3d, Double)

Constructs a new 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(
	Point3d anchor,
	double scaleFactor
)

VB

Public Shared Function Scale ( 
	anchor As Point3d,
	scaleFactor As Double
) As Transform

Parameters

 

anchor
Type: Rhino.Geometry.Point3d
Defines the anchor point of the scaling operation.
scaleFactor
Type: System.Double
Scaling factor in all directions.

Return Value

Type: Transform
A transform matrix which scales geometry uniformly around the anchor point.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Transform Structure
Scale Overload
Rhino.Geometry Namespace

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