VectorConversions

ConversionRepository
Defines a set of conversion methods to Vector3d.

Methods

Convert

#
[Merit(Merit.Plausible)] [Explanation("Creates a counter-clockwise vector in XY plane at the specified angle.")] public static void Convert(Angle from, out Vector3d to)
from (Angle)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Extracts the normal vector of the arc plane.")] public static void Convert(Arc from, out Vector3d to)
from (Arc)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Creates a vector with the integer as the Z component.")] public static void Convert(BigInteger from, out Vector3d to)
from (BigInteger)
to (out Vector3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Converts false to zero vector, true to unit Z vector.")] public static void Convert(bool from, out Vector3d to)
from (bool)
to (out Vector3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Extracts the diagonal vector of the box.")] public static void Convert(Box from, out Vector3d to)
from (Box)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Extracts the average surface normal vector.")] public static void Convert(Brep from, out Vector3d to)
from (Brep)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Extracts the normal vector of the circle plane.")] public static void Convert(Circle from, out Vector3d to)
from (Circle)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Maps (R,G,B) values to (X,Y,Z) vector components.")] public static void Convert(Color from, out Vector3d to)
from (Color)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Maps (R,G,B) values to (X,Y,Z) vector components.")] public static void Convert(Colour from, out Vector3d to)
from (Colour)
to (out Vector3d)

Convert

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

Convert

#
[Merit(Merit.Fair)] [Explanation("Extracts tangent vector for linear curves, normal vector for planar curves.")] public static void Convert(Curve from, out Vector3d to)
from (Curve)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Creates a vector with the number as the Z component.")] public static void Convert(double from, out Vector3d to)
from (double)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Creates a vector with the integer as the Z component.")] public static void Convert(int from, out Vector3d to)
from (int)
to (out Vector3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Creates a vector with the interval length as Z component.")] public static void Convert(Interval from, out Vector3d to)
from (Interval)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Convert coordinate tuples to vectors.")] public static void Convert(ITuple from, out Vector3d to)
from (ITuple)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Creates a vector from the line's direction and length.")] public static void Convert(Line from, out Vector3d to)
from (Line)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Computes the average of all vertex normals.")] public static void Convert(Mesh from, out Vector3d to)
from (Mesh)
to (out Vector3d)

Convert

#
[Merit(Merit.Direct)] [Explanation("Extracts the Z-axis direction vector of the plane.")] public static void Convert(Plane from, out Vector3d to)
from (Plane)
to (out Vector3d)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the point coordinates into vector components.")] public static void Convert(Point2d from, out Vector3d to)
from (Point2d)
to (out Vector3d)

Convert

#
[Merit(Merit.Direct)] [Explanation("Converts the point coordinates into vector components.")] public static void Convert(Point3d from, out Vector3d to)
from (Point3d)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Linear polylines yield tangent vectors, planar polylines yield normal vectors.")] public static void Convert(Polyline from, out Vector3d to)
from (Polyline)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Extracts the normal vector of the rectangle plane.")] public static void Convert(Rectangle3d from, out Vector3d to)
from (Rectangle3d)
to (out Vector3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Extracts the axis direction vector of the sphere.")] public static void Convert(Sphere from, out Vector3d to)
from (Sphere)
to (out Vector3d)

Convert

#
[Merit(Merit.Plausible)] [Explanation("Extracts the average surface normal vector.")] public static void Convert(Surface from, out Vector3d to)
from (Surface)
to (out Vector3d)

Convert

#
[Merit(Merit.Fair)] [Explanation("Extracts the normal vector of the triangle plane.")] public static void Convert(Triangle from, out Vector3d to)
from (Triangle)
to (out Vector3d)

Convert

#
[Merit(Merit.Strange)] [Explanation("Extracts the axis direction vector of the tube..")] public static void Convert(Tube from, out Vector3d to)
from (Tube)
to (out Vector3d)