M_Rhino_Geometry_Transform_Scale_1 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new 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(
Point3d anchor,
double scaleFactor
)
VB
Public Shared Function Scale (
anchor As Point3d,
scaleFactor As Double
) As Transform
- anchor
- Type: Rhino.Geometry.Point3d
Defines the anchor point of the scaling operation. - scaleFactor
- Type: System.Double
Scaling factor in all directions.
Type: Transform
A transform matrix which scales geometry uniformly around the anchor point.
Supported in: 6.0.16224.21491, 5D58w