Pogosim
Loading...
Searching...
No Matches
objects_geometry.h File Reference
#include <functional>
#include <array>
#include "utils.h"
#include "configuration.h"
#include "render.h"
#include "colormaps.h"

Go to the source code of this file.

Classes

struct  BoundingDisk
 Represents a disk with center (x, y) and radius. More...
struct  BoundingBox
 Represents an axis-aligned bounding box with top-left corner (x, y) and dimensions width and height. More...
class  ObjectGeometry
 Geometry of an object. More...
class  DiskGeometry
 Disk-shaped geometry. More...
class  RectangleGeometry
class  TriangleGeometry
class  GlobalGeometry
 Geometry representing the entire simulation. More...
class  ArenaGeometry
 Geometry representing the entire arena (collection of wall polygons). More...

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.