ChainShapeConf.hpp File Reference
#include <PlayRho/Common/Math.hpp>
#include <PlayRho/Collision/Shapes/ShapeConf.hpp>
#include <PlayRho/Collision/DistanceProxy.hpp>
#include <PlayRho/Collision/MassData.hpp>
#include <PlayRho/Collision/AABB.hpp>
#include <vector>
Go to the source code of this file.
Classes | |
class | playrho::d2::ChainShapeConf |
Chain shape configuration. More... | |
Namespaces | |
playrho | |
playrho::d2 | |
Functions | |
ChildCounter | playrho::d2::GetChildCount (const ChainShapeConf &arg) noexcept |
Gets the child count for a given chain shape configuration. More... | |
DistanceProxy | playrho::d2::GetChild (const ChainShapeConf &arg, ChildCounter index) |
Gets the "child" shape for a given chain shape configuration. More... | |
MassData | playrho::d2::GetMassData (const ChainShapeConf &arg) noexcept |
Gets the mass data for a given chain shape configuration. More... | |
bool | playrho::d2::IsLooped (const ChainShapeConf &shape) noexcept |
Determines whether the given shape is looped. More... | |
ChildCounter | playrho::d2::GetNextIndex (const ChainShapeConf &shape, ChildCounter index) noexcept |
Gets the next index after the given index for the given shape. More... | |
NonNegative< Length > | playrho::d2::GetVertexRadius (const ChainShapeConf &arg) |
Gets the vertex radius of the given shape configuration. More... | |
NonNegative< Length > | playrho::d2::GetVertexRadius (const ChainShapeConf &arg, ChildCounter) |
Gets the vertex radius of the given shape configuration. More... | |
void | playrho::d2::Transform (ChainShapeConf &arg, const Mat22 &m) noexcept |
Transforms the given chain shape configuration's vertices by the given transformation matrix. More... | |
ChainShapeConf | playrho::d2::GetChainShapeConf (Length2 dimensions) |
Gets an enclosing chain shape configuration for an axis aligned rectangle of the given dimensions (width and height). More... | |
ChainShapeConf | playrho::d2::GetChainShapeConf (Length dimension) |
Gets an enclosing chain shape configuration for an axis aligned square of the given dimension. More... | |
ChainShapeConf | playrho::d2::GetChainShapeConf (const AABB &arg) |
Gets an enclosing chain shape configuration for the given axis aligned box. More... | |