Click or drag to resize

UtilIncreaseMagnitude Method

Returns the value with its magnitude increased by the specified magnitude.

Namespace:  Demo3D.Common
Assembly:  Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntax
C#
public static double IncreaseMagnitude(
	double value,
	double magnitude
)

Parameters

value
Type: SystemDouble
The value to increase in magnitude.
magnitude
Type: SystemDouble
The magnitude by which to increase the value.

Return Value

Type: Double
The value increased in magnitude.
Remarks
If the value is negative then the returned value will be more negative. Conversely, if the value is positive then the returned value will be more positive. The sign of the specified magnitude is ignored.
See Also