GeometryUtilCopySign(Double, Double) Method

Return a floating-point value with the magnitude of its first argument and the sign of its second argument

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public static double CopySign(
	double magnitude,
	double sign
)

Parameters

magnitude  Double
The magnitude to use.
sign  Double
The sign to use.

Return Value

Double
The caller's magnitude, in the indicated sign.

See Also