`#include "geometric_shapes/shapes.h"`

`#include <cstdlib>`

`#include "btMatrix3x3.h"`

`#include <vector>`

Include dependency graph for bodies.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes | |

class | bodies::Body |

A body is a shape + its pose. Point inclusion, ray intersection can be tested, volumes and bounding spheres can be computed. More... | |

struct | bodies::BoundingCylinder |

Definition of a cylinder. More... | |

struct | bodies::BoundingSphere |

Definition of a sphere that bounds another object. More... | |

class | bodies::Box |

Definition of a box. More... | |

class | bodies::ConvexMesh |

Definition of a convex mesh. Convex hull is computed for a given shape::Mesh. More... | |

class | bodies::Cylinder |

Definition of a cylinder. More... | |

class | bodies::Sphere |

Definition of a sphere. More... | |

## Namespaces | |

namespace | bodies |

## Functions | |

Body * | bodies::createBodyFromShape (const shapes::Shape *shape) |

Create a body from a given shape. | |

void | bodies::mergeBoundingSpheres (const std::vector< BoundingSphere > &spheres, BoundingSphere &mergedSphere) |

Compute a bounding sphere to enclose a set of bounding spheres. |