1 #ifndef PYRAMIDWORKS_GEOMETRY_GEOMETRYOBJECT_H_
2 #define PYRAMIDWORKS_GEOMETRY_GEOMETRYOBJECT_H_
virtual ugdk::structure::Box< 2 > GetBoundingBox(const ugdk::math::Vector2D &position) const =0
Returns a bounding box for this shape.
Definition: vector2D.h:18
Definition: collisionclass.h:13
virtual ~GeometricShape()
Definition: geometricshape.h:15
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
GeometricShape()
Definition: geometricshape.h:53
virtual bool Intersects(const ugdk::math::Vector2D &this_pos, const GeometricShape *obj, const ugdk::math::Vector2D &that_pos) const =0
Checks if this shape intersects another shape.