CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
tries to find a center and radius for a circle which best fits to the provided points
Namespace: CADabilityAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public static double CircleFit( GeoPoint2D[] points, out GeoPoint2D center, out double radius ) |
Visual Basic |
---|
Public Shared Function CircleFit ( _ points As GeoPoint2D(), _ <OutAttribute> ByRef center As GeoPoint2D, _ <OutAttribute> ByRef radius As Double _ ) As Double |
Visual C++ |
---|
public: static double CircleFit( array<GeoPoint2D>^ points, [OutAttribute] GeoPoint2D% center, [OutAttribute] double% radius ) |
Parameters
- points
- Type: array<CADability..::..GeoPoint2D>[]()[][]
points to fit
- center
- Type: CADability..::..GeoPoint2D%
center of the circle
- radius
- Type: System..::..Double%
radius of the circle