DoubleConversions

ConversionRepository
Defines a set of conversion methods to System.Double.

Methods

Convert

#
[Merit(Merit.Fair)] [Explanation("Converts the angle value into a number of degrees.")] public static void Convert(Angle from, out double to)
from (Angle)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the arc.")] public static void Convert(Arc from, out double to)
from (Arc)
to (out double)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the integer to a decimal number.")] public static void Convert(BigInteger from, out double to)
from (BigInteger)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Converts false to zero, true to one.")] public static void Convert(bool from, out double to)
from (bool)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the box.")] public static void Convert(Box from, out double to)
from (Box)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the total surface area.")] public static void Convert(Brep from, out double to)
from (Brep)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the circumference of the circle.")] public static void Convert(Circle from, out double to)
from (Circle)
to (out double)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Measures the luminance value of the colour.")] public static void Convert(Color from, out double to)
from (Color)
to (out double)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Measures the luminance value of the colour.")] public static void Convert(Colour from, out double to)
from (Colour)
to (out double)

Convert

#
[Merit(Merit.Direct)] [Explanation("Extracts the real component of a complex number.")] public static void Convert(Complex from, out double to)
from (Complex)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the curve.")] public static void Convert(Curve from, out double to)
from (Curve)
to (out double)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the integer to a decimal number.")] public static void Convert(int from, out double to)
from (int)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the interval.")] public static void Convert(Interval from, out double to)
from (Interval)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the line.")] public static void Convert(Line from, out double to)
from (Line)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the mesh.")] public static void Convert(Mesh from, out double to)
from (Mesh)
to (out double)

Convert

#
[Merit(Merit.Weird)] [Explanation("Measures the distance from the world origin to the plane origin.")] public static void Convert(Plane from, out double to)
from (Plane)
to (out double)

Convert

#
[Merit(Merit.Strange)] [Explanation("Measures the distance from the origin to the 2D point.")] public static void Convert(Point2d from, out double to)
from (Point2d)
to (out double)

Convert

#
[Merit(Merit.Strange)] [Explanation("Measures the distance from the origin to the point.")] public static void Convert(Point3d from, out double to)
from (Point3d)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the polyline.")] public static void Convert(Polyline from, out double to)
from (Polyline)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the perimeter of the triangle.")] public static void Convert(Rectangle3d from, out double to)
from (Rectangle3d)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the sphere.")] public static void Convert(Sphere from, out double to)
from (Sphere)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the SubD.")] public static void Convert(SubD from, out double to)
from (SubD)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the surface.")] public static void Convert(Surface from, out double to)
from (Surface)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the perimeter of the triangle.")] public static void Convert(Triangle from, out double to)
from (Triangle)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the surface area of the tube.")] public static void Convert(Tube from, out double to)
from (Tube)
to (out double)

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the length of the vector.")] public static void Convert(Vector3d from, out double to)
from (Vector3d)
to (out double)