TransformScale Method (Point3d, Double) |
Constructs a new uniform scaling transformation with a specified scaling anchor point.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic 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:
TransformA transform matrix which scales geometry uniformly around the anchor point.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also