1 #ifndef PYRAMIDWORKS_GEOMETRY_CIRCLE_H_
2 #define PYRAMIDWORKS_GEOMETRY_CIRCLE_H_
18 double radius()
const {
return radius_; }
Definition: vector2D.h:18
ugdk::structure::Box< 2 > GetBoundingBox(const ugdk::math::Vector2D &position) const
Returns a bounding box for this shape.
Definition: collisionclass.h:13
bool Intersects(const ugdk::math::Vector2D &this_pos, const GeometricShape *obj, const ugdk::math::Vector2D &that_pos) const
Checks if this shape intersects another shape.
Circle(double _radius)
Definition: circle.h:14
void set_radius(double _radius)
Setter the radius.
Definition: circle.h:22
Definition: geometricshape.h:13
A convex polygon, one type of GeometricShape. This determines a polygon conposed by at least 3 vertic...
Definition: convexpolygon.h:11
double radius() const
Getter for the radius.
Definition: circle.h:18