Transform.Scale Method (Point3d, Double)

TransformScale Method (Point3d, Double)

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

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static Transform Scale(
	Point3d anchor,
	double scaleFactor
)
Public Shared Function Scale ( 
	anchor As Point3d,
	scaleFactor As Double
) As Transform

Parameters

anchor
Type: Rhino.GeometryPoint3d
Defines the anchor point of the scaling operation.
scaleFactor
Type: SystemDouble
Scaling factor in all directions.

Return Value

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

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also