Pogosim
Loading...
Searching...
No Matches
objects_geometry.cpp File Reference
#include "utils.h"
#include "objects_geometry.h"
#include "robot.h"
#include "distances.h"
#include "simulator.h"
#include <cmath>
#include "SDL2_gfxPrimitives.h"

Functions

ObjectGeometryobject_geometry_factory (Configuration const &config, Simulation *simulation)
 Factory of ObjectGeometries.

Function Documentation

◆ object_geometry_factory()

ObjectGeometry * object_geometry_factory ( Configuration const & config,
Simulation * simulation )

Factory of ObjectGeometries.

Parameters
configConfiguration entry describing the object properties.
simulationPointer to the underlying simulation.