GeometryUtilCopySign(Single, Single) 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 float CopySign(
	float magnitude,
	float sign
)

Parameters

magnitude  Single
The magnitude to use.
sign  Single
The sign to use.

Return Value

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

See Also