21 #ifndef GF_PHYSICS_GEOMETRY_H    22 #define GF_PHYSICS_GEOMETRY_H    31 #ifndef DOXYGEN_SHOULD_SKIP_THIS    84     virtual float getArea() 
const = 0;
    93     virtual CircF getBoundingCircle() 
const = 0;
   135     const CircF& 
get() 
const;
   137     virtual float getArea() 
const override;
   138     virtual CircF getBoundingCircle() 
const override;
   182     virtual float getArea() 
const override;
   183     virtual CircF getBoundingCircle() 
const override;
   187     void computeBoundingCircle();
   191     CircF m_boundingCircle;
   194 #ifndef DOXYGEN_SHOULD_SKIP_THIS   199 #endif // GF_PHYSICS_GEOMETRY_H Type
The type of geometry. 
Definition: PhysicsGeometry.h:51
 
Base class for all render targets (window, texture, ...) 
Definition: RenderTarget.h:66
 
A circle physics geometry. 
Definition: PhysicsGeometry.h:112
 
Define the states used for drawing to a RenderTarget. 
Definition: RenderStates.h:82
 
A polygon physics geometry. 
Definition: PhysicsGeometry.h:150
 
PhysicsGeometry(Type type)
Constructor. 
Definition: PhysicsGeometry.h:61
 
Type getType() const
Get the type of the geometry. 
Definition: PhysicsGeometry.h:75
 
The namespace for gf classes. 
Definition: Action.h:35
 
float angle(Direction direction)
Get an angle from a direction. 
 
A convex polygon. 
Definition: Polygon.h:46
 
The geometry of a physics body. 
Definition: PhysicsGeometry.h:46