Scales a line.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.6.0.0 (1.6.0.0)
Syntax
| C# |
|---|
public Line Scale( Point center, double scaleX, double scaleY, double scaleZ ) |
| Visual Basic (Declaration) |
|---|
Public Function Scale ( _ center As Point, _ scaleX As Double, _ scaleY As Double, _ scaleZ As Double _ ) As Line |
| Visual C++ |
|---|
public: Line^ Scale( Point^ center, double scaleX, double scaleY, double scaleZ ) |
Parameters
- center
- Type: ceometric.VectorGeometry..::.Point
The scale center.
- scaleX
- Type: System..::.Double
The scale factor in x-direction.
- scaleY
- Type: System..::.Double
The scale factor in y-direction.
- scaleZ
- Type: System..::.Double
The scale factor in z-direction.
Return Value
Returns a line scaled in x, y and z direction with respect to a center.
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | One or more of the scale factors are too small. |