CircleFit

Each of the following functions references a CircleFit data structure for the first parameter.

Function

Description

GetCol(CircleFit)

Returns the y-coordinate of the center of the circle.

GetDistance(CircleFit, Index)

Returns the distance between the indexed point and the circle. If the value is negative, the point is within the circle. If the indexed point is invalid, an #ERR is returned.

GetMaxDist(CircleFit)

Returns the distance between the circle and the point farthest from the circle. If the value is negative, the point is within the circle.

GetMaxDistIndex(CircleFit)

Returns the index of the point farthest from the circle.

GetNPointsUsed(CircleFit)

Returns the number of points used to fit the circle.

GetRadius(CircleFit)

Returns the radius of the circle.

GetRow(CircleFit)

Returns the x-coordinate of the center of the circle.

GetSigma(CircleFit)

Returns the square root of the sum of the squares of the distances from the points to the circle divided by the number of points.