Scales the object by the specified factor. The scale is centered at the origin.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic bool Scale(
double scaleFactor
)
Public Function Scale (
scaleFactor As Double
) As Boolean
Parameters
- scaleFactor
- Type: SystemDouble
The uniform scaling factor.
Return Value
Type:
Booleantrue if geometry successfully scaled.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also