ComplexConversions

ConversionRepository
Defines a set of conversion methods to Complex.

Methods

Convert

#
[Merit(Merit.Fair)] [Explanation("Converts the angle to a complex number with matching phase and magnitude one.")] public static void Convert(Angle from, out Complex to)
from (Angle)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the integer to a complex number with no imaginary component.")] public static void Convert(BigInteger from, out Complex to)
from (BigInteger)
to (out Complex)

Convert

#
[Merit(Merit.Fair)] [Explanation("Converts false to 0+0i, true to 1+0i.")] public static void Convert(bool from, out Complex to)
from (bool)
to (out Complex)

Convert

#
[Merit(Merit.Strange)] [Explanation("Maps luminance and hue to the complex plane.")] public static void Convert(Color from, out Complex to)
from (Color)
to (out Complex)

Convert

#
[Merit(Merit.Strange)] [Explanation("Maps luminance and hue to the complex plane.")] public static void Convert(Colour from, out Complex to)
from (Colour)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the number to a complex number with no imaginary component.")] public static void Convert(double from, out Complex to)
from (double)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the integer to a complex number with no imaginary component.")] public static void Convert(int from, out Complex to)
from (int)
to (out Complex)

Convert

#
[Merit(Merit.Fair)] [Explanation("Converts the interval length to a complex number with no imaginary component.")] public static void Convert(Interval from, out Complex to)
from (Interval)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Maps X and Y coordinates to real and imaginary values.")] public static void Convert(Point2d from, out Complex to)
from (Point2d)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Maps X and Y coordinates to real and imaginary values.")] public static void Convert(Point3d from, out Complex to)
from (Point3d)
to (out Complex)

Convert

#
[Merit(Merit.Direct)] [Explanation("Maps X and Y components to real and imaginary values.")] public static void Convert(Vector3d from, out Complex to)
from (Vector3d)
to (out Complex)