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