8 #include "../tools/errorhandler.hpp" 27 :
base_class(x_center, y_center, radius, radius, 0)
45 if (std::max(std::abs(deltaX), std::abs(deltaY)) >
m_radius.
getX())
Point2D::value_type value_type
The type of the stored x, y coordinates, and the rotation.
A rotated 2-dimensional ellipse in the plane.
void setRadius(const Point2D &p)
Sets the radius of this Ellipse. Must be non-negative.
Circle2D()
Constructor for an all-zero Circle2D.
bool containsPoint(const Point2D &point) const
Returns true if the given Point2D is inside this ellipse or on its outline.
void setRadius(value_type radius)
Sets the radius of this circle. Must be non-negative.