IntegerConversions

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

Methods

Convert

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

Convert

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

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the big integer to a standard, 32-bit integer.")] public static void Convert(BigInteger from, out int to)
from (BigInteger)
to (out int)

Convert

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

Convert

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

Convert

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

Convert

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

Convert

#
[Merit(Merit.Plausible)] [Explanation("Measures the luminance value as an integer.")] public static void Convert(Color from, out int to)
from (Color)
to (out int)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Measures the luminance value as an integer.")] public static void Convert(Colour from, out int to)
from (Colour)
to (out int)

Convert

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

Convert

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

Convert

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

Convert

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

Convert

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

Convert

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

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures the number of elements in the path.")] public static void Convert(Path from, out int to)
from (Path)
to (out int)

Convert

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

Convert

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

Convert

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

Convert

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

Convert

#
[Merit(Merit.Fair)] [Explanation("Measures and rounds the perimeter of the polyline.")] public static void Convert(Rectangle3d from, out int to)
from (Rectangle3d)
to (out int)

Convert

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

Convert

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

Convert

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

Convert

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

Convert

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

Convert

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