|
| Circle (Point c, float r) |
|
| Circle (const Circle &other) |
|
Shape * | clone () const override |
|
float | radius_sq () const |
|
void | radius_sq (float value) |
|
float | radius () const |
|
void | radius (float value) |
|
bool | containsPoint (Point pt) const override |
|
bool | hit (Point pt) const override |
| Returns true if the given point is within one robot radius of the shape.
|
|
bool | hit (const Segment &pt) const override |
|
bool | nearPoint (Point pt, float threshold) const override |
|
int | intersects (Circle &other, Point *i=nullptr) const |
|
int | intersects (const Line &line, Point *i=nullptr) const |
|
bool | tangentPoints (Point src, Point *p1=nullptr, Point *p2=nullptr) const |
|
Point | nearestPoint (Point p) const |
| finds the point on the circle closest to
|
|
std::string | toString () override |
|
The documentation for this class was generated from the following files:
- common/Geometry2d/Circle.hpp
- common/Geometry2d/Circle.cpp