|
Transform3Scale Method
|
Constructs a new non-uniform scaling transformation with a specified scaling anchor point.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Transform3 Scale(
Plane3 plane,
double xScaleFactor,
double yScaleFactor,
double zScaleFactor
)
Public Shared Function Scale (
plane As Plane3,
xScaleFactor As Double,
yScaleFactor As Double,
zScaleFactor As Double
) As Transform3
public:
static Transform3 Scale(
Plane3^ plane,
double xScaleFactor,
double yScaleFactor,
double zScaleFactor
)
static member Scale :
plane : Plane3 *
xScaleFactor : float *
yScaleFactor : float *
zScaleFactor : float -> Transform3
Parameters
- plane
- Type: Karamba.GeometryPlane3
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:
Transform3A transformation matrix which scales geometry non-uniformly.
See Also