Utility Class

Contains a collection of utility methods and constants.
Public Class Utility
This language is not supported or no code example is available.
public class Utility
This language is not supported or no code example is available.
Methods
 
Name Description
Public method Static Append(double[,], double[,]) Appends the second array at the end of first one.
Public method Static ArcTanProblem(double, double) See: http://hyperphysics.phy-astr.gsu.edu/hbase/ttrig.html
Public method Static AreCollinear(Point2D[], double, out Segment2D)
Public method Static AreEqual(IList, IList) Checks if two generic lists contain the same elements.
Public method Static AreEqual(double, double, double) Compares two floating point numbers using the provided domain size.
Public method Static AreEqual2D(double[], double[], double) Compares two 2D points in the given domain.
Public method Static BoundingBox(IList<Point3D>, out Point3D, out Point3D) Returns the bounding box of a collection of 3D points.
Public method Static BoundingRect(IList<Point2D>, out Point2D, out Point2D) Returns the bounding rectangle of a collection of 2D points.
Public method Static BoundingRect(IList<Point>, out Point, out Point) Returns the bounding rectangle of a collection of 2D points.
Public method Static BoundingRectOnPlane(IList<Point2D>, Plane, out Point2D, out Point2D) Returns the bounding rectangle of a collection of 2D points by using a fixed plane orientation.
Public method Static CheckDir<T>(IList<T>, IList<IList<T>>)
Public method Static CircularNext<T>(LinkedListNode<T>) Returns the next 'circular' node in the linked list.
Public method Static CircularPrevious<T>(LinkedListNode<T>) Returns the previous 'circular' node in the linked list.
Public method Static CleanQuads(IList<Int32>, IList<PointNormalUv>, out List<PointNormalUv>) Cleans a quad list from duplicated vertices.
Public method Static CleanTriangles(IList<IndexTriangle>, IList<Point3D>, out List<IndexTriangle>, out List<Point3D>) Cleans a triangles list from duplicated vertices.
Public method Static CleanTriangles(IList<IndexTriangle>, IList<Point3D>, out List<IndexTriangle>, out List<Point3D>, out int[]) Cleans the triangles from duplicated vertices.
Public method Static ColorToDoubleArray(Color) Converts a Color to a double[4] with components in the [0,1] range.
Public method Static ColorToFloatArray(Color) Converts a Color to a float[4] with components in the [0,1] range.
Public method Static Compact(IList<Point3D>, IList<IndexTriangle>, out Point3D[]) Removes orphan vertices.
Public method Static CompactNormals(IList<Vector3D>, IList<IndexTriangle>, out Vector3D[]) Removes orphan normals.
Public method Static Compare(double, double) Compares two floating point numbers using a relative error of 1e-8.
Public method Static Compare(double, double, double) Compares two floating point numbers using the given error tolerance.
Public method Static Compare(long, long)
Public method Static CompareWithoutTolerance(double, double) Compares two floating point numbers witohut using a tolerance (for Sorting methods).
Public method Static ComputeBoundingBox(Transformation, IList<Point3D>, out Point3D, out Point3D) Computes the bounding box of the given array of points.
Public method Static ComputeBoundingBox(Transformation, float[], int, int, out Point3D, out Point3D)
Public method Static ComputeBoundingBox<T>(IList<T>, out Point3D, out Point3D)
Public method Static ComputeBoundingBox<T>(Transformation, IList<T>, int, out Point3D, out Point3D) Computes the bounding box of the given array of points.
Public method Static ComputeBoundingRect(IList<Point2D>, out Point2D, out Point2D) Computes the bounding box of the given array of points.
Public method Static ComputeBoundingRect(double[,], out Point2D, out Point2D) Computes the bounding box of the given array of points.
Public method Static ComputeTolerance(double) Computes visual refinement tolerance.
Public method Static DeepCopyVertices(Point3D[]) Point3D array deep copy.
Public method Static DegToRad(double) Converts degrees to radians.
Public method Static DoOverlap(Point3D, Point3D, Point3D, Point3D) Check if two bounding boxes overlap.
Public method Static DoOverlap2D(Point, Point, Point, Point) Check if two bounding rectangles overlap.
Public method Static DoOverlap2D(Point2D, Point2D, Point2D, Point2D) Check if two bounding rectangles overlap.
Public method Static DoOverlapOrTouch(Point3D, Point3D, Point3D, Point3D) Check if two bounding boxes overlap or touch.
Public method Static DoOverlapOrTouch(Point3D, Point3D, Point3D, Point3D, double) Check if two bounding boxes overlap or touch.
Public method Static DoOverlapOrTouch2D(Point2D, Point2D, Point2D, Point2D) Check if two bounding boxes overlap or touch.
Public method Static DoOverlapOrTouch2D(Point2D, Point2D, Point2D, Point2D, double) Check if two bounding rectangles overlap.
Public method Static DoOverlapOrTouchWithIntersectionBox(Point3D, Point3D, Point3D, Point3D, out Size3D) Checks if two Axis-Aligned Bounding-Boxes intersect and computes their intersection boxes size.
Public method Static DoubleArrayToColor(double[]) Converts a double[3] to Color.
Public method Static DoubleArrayToString(double[])
Public method Static DoubleParse(string) Converts the string representation of a number to its double-precision equivalent in a culture invariant way.
Public method Static DoubleParseIges(string)

Converts the string representation of a number to its double-precision equivalent in a culture invariant way. Before converting the number ending decimal dot is removed.

Examples:

  • The ending dot of the string "1." is removed
  • The ending dot of the string "2E-012." is removed
Public method Static DoubleTryParse(string, out double) Converts the string representation of a number to its double-precision equivalent in a culture invariant way.
Public method Static DoublesToPointArray2D(double[]) Convert a list of double values to a 2D point array.
Public method Static DoublesToPointArray3D(double[]) Converts an array of doubles to a an array of 3D points.
Public method Static DoublesToPointArray4D(double[]) Converts an array of doubles to a an array of 4D points (only the XYZ members are converted).
Public method Equals(Object) Determines whether the specified object is equal to the current object. (inherited from Object).
Public method Static EvaluateCurvature(Vector3D, Vector3D, out Vector3D, out Vector3D)

Evaluates unit tangent and curvature from first and second derivatives.

T = D1 / |D1|

K = ( D2 - (D2 o T)*T )/( D1 o D1)

Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Static FindLoops(Point2D[][], out Point2D[][], out Point2D[][][]) Finds the outers and inners contours from a collection of 2d contours.
Internal protected (Protected Friend) method Static FindLoopsInternal(Point2D[][], out Point2D[][], out Point2D[][][], out int[], out int[][])
Public method Static FitCircle(IList<Point2D>, Plane, out Point2D, out double) Least squares circle fit given a set of 2D points.
Public method Static FitCircle(IList<Point3D>, out Plane, out double) Least squares circle fit given a set of 3D points.
Public method Static FitCircle(float[], out Plane, out double)
Public method Static FitLine(IList<Point3D>, out Point3D, out Vector3D) Linear fitting of 3D points using orthogonal regression.
Public method Static FitLine(float[], out Point3D, out Vector3D)
Public method Static FitPlane(IList<Point3D>) Planar fitting of 3D points using orthogonal regression.
Public method Static FitPlane(float[])
Public method Static FixEndAngle(double, ref double)
Public method Static FixRevAngle(double, double)
Public method Static FloatArrayToColor(float[]) Converts a float[4] to Color.
Public method Static FloatParse(string) Converts the string representation of a number to its single-precision equivalent in a culture invariant way.
Public method Static GetBoundingBoxCorners(Point3D, Point3D)
Public method Static GetBoundingBoxTransformed(Transformation, Point3D, Point3D, out Point3D, out Point3D) Transforms the eight corners of a world-aligned bounding box and returns the minimum and maximum corners.
Public method Static GetCleanedAndConvertedEdges(List<IndexLine>, int[])
Public method Static GetCleanedAndConvertedTriangles(IList<IndexTriangle>, int[])
Public method Static GetContourPlane(IList<Point3D>)
Public method Static GetConversionIndices(IList<Point3D>, List<Point3D>)
Public method Static GetConversionIndices(IList<PointNormalUv>, List<PointNormalUv>)
Public method Static GetCornersOnPlane(Plane, Point3D, Point3D, double) Computes a rect on the plane that encloses the eight projected bounding box corners.
Public method Static GetCutPlane(Vector3D, Vector3D, Point3D, bool, out Plane, out Vector3D)
Public method Static GetDeviation(Point3D, Vector3D, Point3D, Vector3D, out double) Computes the deviation of an arc defined by two 3D points and two 3D tangents.
Public method Static GetDeviation2D(Point2D, Vector2D, Point2D, Vector2D, out double) Computes the deviation of an arc defined by two 2D points and two 2D tangents.
Public method Static GetEdge(int, int, IList<LinkedList<SharedEdge>>)
Public method Static GetEdgesWithoutDuplicates(int[,], int) Gets a list of edges without duplicates from a mesh of triangles or quads.
Public method Static GetEdgesWithoutDuplicates(int[,], int, out LinkedList<SharedEdge>[]) Gets a list of edges without duplicates from a mesh of triangles or quads.
Public method Static GetEdgesWithoutDuplicates(IList<IndexTriangle>, int, out LinkedList<SharedEdge>[]) Gets a list of edges without duplicates from a mesh of triangles.
Public method Static GetEdgesWithoutDuplicates(IList<IndexTriangle>, int) Gets a list of edges without duplicates from a mesh of triangles.
Public method Static GetEdgesWithoutDuplicates(SilhoPolyRegion[], int, out LinkedList<SharedEdge>[], bool) Gets a list of edges without duplicates from a mesh of triangles or quads.
Public method Static GetEdgesWithoutDuplicates(int[][], int, out LinkedList<SharedEdge>[]) Gets a list of edges without duplicates from a mesh of polygons (3 or 4 sided mixed).
Public method Static GetFrozenColor(Color, double) Generates a color with increased lightness from the source one.
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method Static GetLinearUnitsConversionFactor(linearUnitsType, linearUnitsType) Gets the scale factor to use for the conversion between linearUnitsTypes
Public method Static GetMassUnitsConversionFactor(massUnitsType, massUnitsType) Gets the scale factor to use for the conversion between massUnitsTypes
Public method Static GetMatrixForNormals(Transformation) Gets the matrix needed for normals transformation.
Public method Static GetMinMax(int, int, out int, out int)
Public method Static GetOrientationTransformation(Point3D, Vector3D) Gets the transformation to orient an entity built on the X-Axis on the given direction.
Public method Static GetOuterIndex(IList<IList<Point2D>>) Returns the outer loop index.
Public method Static GetPlanarIntersectionProfile(Plane, Point3D, Point3D, out bool)
Public method Static GetPlane(Point3D, Point3D, Point3D, out Plane)
Public method Static GetPointsOnPlane(Plane, IList<Point2D>) Gets the array of Point3D from a 2D profile.
Public method Static GetProgress(int[], int[], int) Gets progress value from parallel tasks.
Public method Static GetRandomColor(Random) Generates a random color.
Public method Static GetRandomColorDark(Random, int) Generates a dark random color.
Public method Static GetRotationAxisAndAngle(Vector3D, Vector3D, out Vector3D, out double) Returns the rotation axis and the angle to rotate from one vector to another.
Public method Static GetSampling(float[])
Public method Static GetSampling<T>(IList<T>)
Public method Static GetScalingLevel() Gets the display scale factor.
Public method Static GetSizeOnPlane(Point3D, Point3D, Plane, out Point2D, out Point2D) Gets 2D corners of the rectangle enclosing the projection of the 3D bounding box corners.
Public method Static GetSkinFaces(int[][], int, out LinkedList<SharedFace>[]) Gets a list of faces without duplicates from a mesh of triangles or quads.
Public method Static GetSliceVerticesAndNormals(int, double, int, Point3D, Point3D, Point3D[], out Point3D, out Point3D, out Point3D, out Point3D, out Vector3D, out Vector3D, out Vector3D, out Vector3D) Quad strip generation for Bar entity. Born for Bar entity, now used also for Fem Truss elements
Public method Static GetSupportedLinearUnits(linearUnitsType) Converts linearUnitsType to <seealso cref="supportedLinearUnitsType" />
Public method Static GetSupportedMassUnits(massUnitsType) Converts massUnitsType to <seealso cref="supportedMassUnitsType" />
Public method Static GetTrianglesPlane(IList<IndexTriangle>, IList<Point3D>) Gets the first valid plane found from a collection of triangles.
Public method GetType Gets the Type of the current instance. (inherited from Object).
Public method Static GetUniqueEdges(LinkedList<SharedEdge>[], int)
Public method Static GetUniqueVertices(IList<Point3D>)
Public method Static GetUniqueVertices(IList<PointNormalUv>)
Public method Static GetXElement(string, Vector2D)
Public method Static GetXElement(string, Vector3D)
Public method Static GetXElement<T>(string, T)
Public method Static HSLtoRGB(double[])
Public method Static HSVtoRGB(double[])
Public method Static HermiteSpline(Point2D, Vector2D, Point2D, Vector2D, double) Computes a point on the Hermite Spline.
Public method Static InchesToMm(double) Converts Inches to Millimeters.
Public method Static InitializeMinMax(Point3D, out Point3D, out Point3D)
Public method Static InsideOrCrossingFrustum(Point3D, Point3D, Point3D, PlaneEquation[]) Checks whether the triangle is inside or crossing the frustum defined by the given planes.
Public method Static InsideOrCrossingFrustumQuad(Point3D, Point3D, Point3D, Point3D, PlaneEquation[]) Checks whether the quad is inside or crossing the frustum defined by the given planes.
Public method Static IntArrayToString(int[])
Public method Static Intersect3DLines(Point3D, Vector3D, Point3D, Vector3D, out double, out double, out Point3D) Traces two lines in 3D. x0(s) = p0 + s * t0 x1(t) = p1 + t * t1
Public method Static Intersection2D(Point3D[], Segment2D, bool) Seek intersections between a polygonal chain and a segment.
Public method Static Intersection2D(Point3D[], Point3D[], bool) Seek intersections between two polygonal chains.
Public method Static IntersectionBox(Point3D, Point3D, Point3D, Point3D, out Point3D, out Point3D) Computes the intersection rectangle between two axis aligned boxes. This function assumes that the two boxes overlap.
Public method Static IntersectionRect(Point2D, Point2D, Point2D, Point2D, out Point2D, out Point2D) Computes the intersection rectangle between two axis aligned rectangles. This function assumes that the two rectangles overlap.
Public method Static InvalidOGLPoint(Point3D) Tells if the point has valid coordinates for the OpenGL flaot precision.
Public method Static InvertMatrixd(double[], double[]) Inverts a matrix.
Public method Static IsClosedProfile(IList<Point2D>) Tells if a profile is closed, depending on a tolerance computed from its size.
Public method Static IsClosedProfile(IList<Point3D>) Tells if a profile is closed, depending on a tolerance computed from its size.
Public method Static IsImperial(linearUnitsType) Returns true if the specified unit is Inches, Feet or Miles.
Public method Static IsImperial(massUnitsType) Returns true if the specified unit is Ounces, Pounds, Stones, ShortTons, LongTons.
Public method Static IsInFrustum(PlaneEquation[], Point3D, double) Tells if a hypothetical sphere with the specified center and radius is inside the given frustum planes.
Public method Static IsInFrustum(PlaneEquation[], Point3D, double, out bool) Tells if a hypothetical sphere with the specified center and radius is inside the given frustum planes.
Public method Static IsInFrustum(PlaneEquation[], Point3D, Point3D) Tells if a hypothetical sphere with the specified center and radius is inside the given frustum planes.
Public method Static IsOrientedClockwise<T>(IList<T>) Detects polygon orientation (the points are always projected on XY plane).
Public method Static IsPointInside(Point3D, Point3D, Point3D, double, bool) Checks if the point is inside the specified bounding box.
Public method Static IsPointInsideOrCrossing(PlaneEquation[], Point3D) Tells if a point is inside the camera frustum.
Public method Static IsPointInsideOrOntoBBox2D(Point2D, Point2D, Point2D) Check if the Point3D is inside or onto the BoundingBox 2D made by boxMin and boxMax
Public method Static IsPointOnSegment(Point2D, Point2D, Point2D, double) Determines if a point in on a segment. First it checks if the parameter t for the projected point is between 0 and 1, then it checks if the test point is close enough to the segment.
Public method Static IsPolygonConvex<T>(IList<T>) Returns true if the planar closed polygon is convex.
Public method Static IsPolygonDegenerated<T>(IList<T>) Checks if the polygon is self-intersecting or has T junctions.
Public method Static IsPolygonSelfIntersecting<T>(IList<T>) Checks if the polygon is self-intersecting.
Public method Static IsSegmentInsideOrCrossing(PlaneEquation[], Segment3D) Tells if a segment is inside or crossing the camera frustum.
Public method Static IsValidMatrix(double[])
Public method Static KahanSum(double[]) Kahan summation.
Public method Static LimitRange<T>(T, ref T, T) Clamps a value between the specified lower and upper limits.
Public method Static LinePlaneIntersection(Point3D, Point3D, PlaneEquation, out Point3D) Intersects the infinite line with a plane.
Public method Static LoadBitmapWithoutLockingFile(string) Creates an image without locking the input file.
Public method Static MakeGrayscale(Bitmap) Converts an image to grayscale.
Public method Static Max<T>(T, T, T) Returns the max of three values.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Public method Static Min<T>(T, T, T) Returns the min of three values.
Public method Static MmToInches(double) Converts Millimeters to Inches.
Public method Static MultMatrixVecd(double[], double[]) Multiplies a matrix by a vector.
Public method Static MultMatrixd(double[], double[]) Multiplies two matrices.
Public method Static MultMatrixf(float[], float[]) Multiplies two matrices.
Public method Static NextItem<T>(IList<T>, int) Return the cyclic next item in a list.
Public method Static NormalInterpolation(Point3D, Vector3D, Point3D, Vector3D, Point3D, Vector3D, Point3D, Vector3D, Point3D, Vector3D) Returns the interpolated normal at the point p somewhere in the middle of the 3D rectangular face defined by the points p1, p2, p3 and p4.
Public method Static NormalInterpolation(Point3D, Vector3D, Point3D, Vector3D, Point3D) Returns the interpolated normal at the point p somewhere in the middle of the 3D segment defined by the points p1 and p2.
Public method Static NumberOfSegments(double, double, double, double) Computes the number of arc subdivisions according to specified chordal error and maximum angle between tangents.
Public method Static NumberOfSegmentsByLength(double, double, double) Computes the number of arc subdivisions according to specified maximum segment length.
Public method Static OffsetPoint(Point3D, Point3D, double, out Point3D)
Public method Static OrderEdges(List<IndexLine>, out List<IndexLine>) Create an ordered list of edges without duplicates.
Public method Static ParametersDontChangeSignificantly(double, double)
Public method Static PointCoincidence(Vector3D, Vector3D, double, out Vector3D, out double)
Public method Static PointInPolygon(Point2D, IList<Point2D>) Tests if a 2D point is inside a 2D polygon.
Public method Static PointInPolygon(Point2D, IList<Polygon2D>) Tests if a 2D point is inside to a region composed by multiple 2D polygons (clockwise/anticlockwise orientation rule).
Public method Static PointInPolygon(Point2D, IList<IList<Point2D>>, double) Tests if a 2D point is inside to a region composed by multiple 2D polygons (clockwise/anticlockwise orientation rule).
Public method Static PointInPolygon(Point2D, IList<Point2D>, double) Tests if a 2D point is inside a 2D polygon.
Public method Static PointInRect(Point2D, Point2D, Point2D) 2D point in rectangle test.
Public method Static PointInRectangle(Point2D, Point2D, Point2D) Tests if a 2D point is inside to a 2D rectangle.
Public method Static PointInTriangle(Point2D, Point2D, Point2D, Point2D) 2D point in triangle test.
Public method Static PointInTriangle(double, double, double, double, double, double, double, double) Point in triangle test.
Public method Static PolygonArea(double[,]) Computes the signed area of a polygon (the points are always projected on XY plane).
Public method Static PolygonArea<T>(IList<T>) Computes the signed area of a polygon (the points are always projected on XY plane).
Public method Static PolygonOrientation<T>(IList<T>) Computes the signed area of a polygon (the points are always projected on XY plane).
Public method Static PrevItem<T>(IList<T>, int) Return the cyclic previous item in a list.
Public method Static RGBtoHSL(Color, out double[])
Public method Static RGBtoHSV(Color, out double[])
Public method Static RadToDeg(double) Converts radians to degrees.
Public method Static ReadXmlDouble(XmlNode)
Public method Static ReadXmlDouble(string)
Public method Static ReadXmlDoubleArray(XmlNode)
Public method Static ReadXmlInt32(string)
Public method Static RemoveDuplicates<T>(IList<T>) Removes contiguous duplicated points from the list.
Public method Static RemoveDuplicates<T>(IList<T>, double) Removes contiguous duplicated points from the list.
Public method Static RemoveDuplicates<T>(IList<T>, out IList<Int32>) Removes contiguous duplicated points from the list.
Public method Static RemoveEdge(int, int, LinkedList<SharedEdge>[])
Public method Static ResetBBox(out Point3D, out Point3D)
Public method Static ReverseArray<T>(IList<T>) Reverses the order of the elements in the array.
Public method Static RotateLeft<T>(T[]) Rotates the array left.
Public method Static RotateRight<T>(T[]) Rotates the array right.
Public method Static Scaled(double, double, double, ref double[]) Craetes a scaling matrix and muliplies the original matrix by it.
Public method Static SetImageOpacity(Image, float) Changes the opacity of an image.
Public method Static Simplify<T>(IList<T>, double) Uses the Douglas Peucker algorithm to reduce the number of points.
Public method Static Solve2x2(double, double, double, double, double, double, out double, out double, out double)
Public method Static Swap<T>(ref T, ref T) Swaps two values.
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Static TransformNormals(Transformation, Vector3D[]) Transforms the collection of normals with the given transformation.
Public method Static Translated(double, double, double, ref double[]) Craetes a translation matrix and muliplies the original matrix by it.
Public method Static TriangleArea(Point3D, Point3D, Point3D)
Public method Static TriangleRectangleOverlap(Point2D[], Point2D[]) 2D triangle rectangle overlap test.
Public method Static TriangleTriangleIntersection(Point3D, Point3D, Point3D, Point3D, Point3D, Point3D, out bool) Fast Triangle-Triangle intersection between ccw T1[p1,q1,r1] and ccw T2[p2,q1,r2] (From the Devillers and Guigue algorithm).
Public method Static TriangleTriangleIntersection(double[], double[], double[], double[], double[], double[], out bool) Fast Triangle-Triangle intersection between ccw T1[p1,q1,r1] and ccw T2[p2,q1,r2] (From the Devillers and Guigue algorithm).
Public method Static TriangleTriangleIntersection2D(Point2D, Point2D, Point2D, Point2D, Point2D, Point2D) Fast Triangle-Triangle 2D intersection between ccw T1[p1,q1,r1] and ccw T2[p2,q1,r2] (From the Devillers and Guigue algorithm).
Public method Static TriangleTriangleIntersection2D(double[], double[], double[], double[], double[], double[]) Fast Triangle-Triangle 2D intersection between ccw T1[p1,q1,r1] and ccw T2[p2,q1,r2] (From the Devillers and Guigue algorithm).
Public method Static TriangleTriangleIntersectionNO(Point3D, Point3D, Point3D, Point3D, Point3D, Point3D)
Public method Static UpdateMinMax(Transformation, IList<Point2D>, int, Point2D, Point2D)
Public method Static UpdateMinMax(Transformation, IList<Point3D>, int, Point3D, Point3D)
Public method Static UpdateMinMax(double, ref double, ref double)
Public method Static UpdateMinMaxQuick(Point3D, Point3D, Point3D)
Public method Static UpdateMinMaxQuick(PointNormalUv, Point2D, Point2D)
Public method Static UpdateMinMaxQuick(double, double, Point2D, Point2D)
Public method Static UpdateMinMaxQuick(double, double, double, Point3D, Point3D)
Public method Static UpdateMinMaxSlow(Point3D, Point3D, Point3D)
Public method Static VectorsAngle(Vector3D, Vector3D, Plane)
Public method Static VectorsAngle(Vector3D, Vector3D, Vector3D) Returns the angle in degrees between two vectors.
Public method Static WriteFloatNumber(double)
Public method Static WriteXmlAttribute(string, Vector2D, XmlTextWriter)
Public method Static WriteXmlAttribute(string, Vector3D, XmlTextWriter)
Public method Static WriteXmlAttribute(string, double, XmlTextWriter)
Public method Static WriteXmlAttribute(string, int, XmlTextWriter)
Public method Static WriteXmlAttribute(string, string, XmlTextWriter)
Public method Static WriteXmlAttribute<T>(string, T, XmlTextWriter)
Public method Static WriteXmlElement(string, Vector2D, XmlTextWriter)
Public method Static WriteXmlElement(string, Vector3D, XmlTextWriter)
Public method Static WriteXmlElement<T>(string, T, XmlTextWriter)
Public method Static lessOrEqualCurveSurfaceIntersection(double, double, double)
Public method Static svdcmp(double[,], out double[], out double[,])
Top
Fields
 
Name Description
Public field EPSILON Constant, small positive value equal to 2.2204460492503131e-16.
Public field HDLGRIDSPAN Integer grid span.
Public field Static LinearConversionFactors Gets linear conversion factor between two units.
Public field Static MassConversionFactors Gets mass conversion factor between two units.
Public field PI_2 Constant, π / 2.
Public field PI_6 Constant, π / 6.
Public field POS_MIN_DBL Constant, minimum positive value equal to 2.2250738585072014e-308.
Public field QUARTER_PI Constant, π / 4.
Public field SQRT2 Constant, square root of 2, truncated at 30 digits.
Public field SQRT2_OVER_2 Constant, square root of 2 divided by 2, truncated at 30 digits.
Public field SQRT3 Constant, square root of 3, truncated at 30 digits.
Public field SQRT3_OVER_2 Constant, square root of 3 divided by 2, truncated at 30 digits.
Public field SQRT_EPSILON Constant, square root of EPSILON.
Public field THREE_QUARTER_PI Constant, π * 3 / 4.
Public field TOL3 Constant, 1e-3.
Public field TOL6 Constant, 1e-6.
Public field TOL9 Constant, 1e-9.
Public field TWO_PI Constant, π * 2.
Public field ZERO_TOLERANCE Constant, 1e-12.
Top

.NET Framework

Supported in: 4.8

In this article

Definition