|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Result type: a circle defined by center and squared radius. More...
#include <geom_algorithms.H>
Public Member Functions | |
| Geom_Number | radius () const |
| Exact radius (square root of radius_squared). | |
| bool | contains (const Point &p) const |
True if point p lies inside or on the circle boundary. | |
Public Attributes | |
| Point | center |
| Geom_Number | radius_squared = 0 |
Result type: a circle defined by center and squared radius.
Definition at line 1094 of file geom_algorithms.H.
True if point p lies inside or on the circle boundary.
Definition at line 1106 of file geom_algorithms.H.
References center, Aleph::Point::distance_squared_to(), and radius_squared.
Referenced by Aleph::MinimumEnclosingCircle::mec_with_point(), Aleph::MinimumEnclosingCircle::mec_with_two_points(), and Aleph::MinimumEnclosingCircle::welzl_iterative().
|
inline |
Exact radius (square root of radius_squared).
Definition at line 1100 of file geom_algorithms.H.
References radius_squared, and Aleph::square_root().
Referenced by Aleph::put_mec_result().
| Point Aleph::MinimumEnclosingCircle::Circle::center |
Definition at line 1096 of file geom_algorithms.H.
Referenced by contains(), and Aleph::put_mec_result().
| Geom_Number Aleph::MinimumEnclosingCircle::Circle::radius_squared = 0 |
Definition at line 1097 of file geom_algorithms.H.
Referenced by contains(), and radius().