TransformScale Method (Plane, Double, Double, Double) |
Constructs a new non-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(
Plane plane,
double xScaleFactor,
double yScaleFactor,
double zScaleFactor
)
Public Shared Function Scale (
plane As Plane,
xScaleFactor As Double,
yScaleFactor As Double,
zScaleFactor As Double
) As Transform
Parameters
- plane
- Type: Rhino.GeometryPlane
Defines the center and orientation of the scaling operation. - xScaleFactor
- Type: SystemDouble
Scaling factor along the anchor plane X-Axis direction. - yScaleFactor
- Type: SystemDouble
Scaling factor along the anchor plane Y-Axis direction. - zScaleFactor
- Type: SystemDouble
Scaling factor along the anchor plane Z-Axis direction.
Return Value
Type:
TransformA transformation matrix which scales geometry non-uniformly.
See Also