Geometry: facilities functions for geometry calculations
Computes the circumcircle of a triangel defined by a,b,c see: http://en.wikipedia.org/wiki/Circumscribed_circle#Circumscribed_circles_of_triangles
| Parameters : |
|
|---|---|
| Return : |
|
Returns the minimum bounding circle for a set of points
For a description of the problem being solved see http://en.wikipedia.org/wiki/Smallest_circle_problem The function uses Applet’s Algorithm Algorithm, worst case teh runtime is O(h^3 *n), where h= number of points in teh convex hull of the set of points. But it runs in linear time in almost all real world cases. see: http://www.personal.kent.edu/~rmuhamma/Compgeometry/MyCG/CG-Applets/Center/centercli.htm
| Parameters : |
|
|---|---|
| Return : |
|