PolygonShapeConf.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/Common/VertexSet.hpp>
#include <type_traits>
#include <vector>
Go to the source code of this file.
Classes | |
class | playrho::d2::PolygonShapeConf |
Polygon shape configuration. More... | |
Namespaces | |
playrho | |
playrho::d2 | |
Functions | |
PLAYRHO_CONSTEXPR ChildCounter | playrho::d2::GetChildCount (const PolygonShapeConf &) noexcept |
Gets the "child" count for the given shape configuration. More... | |
DistanceProxy | playrho::d2::GetChild (const PolygonShapeConf &arg, ChildCounter index) |
Gets the "child" shape for the given shape configuration. More... | |
NonNegative< Length > | playrho::d2::GetVertexRadius (const PolygonShapeConf &arg) noexcept |
Gets the vertex radius of the given shape configuration. More... | |
NonNegative< Length > | playrho::d2::GetVertexRadius (const PolygonShapeConf &arg, ChildCounter) noexcept |
Gets the vertex radius of the given shape configuration. More... | |
MassData | playrho::d2::GetMassData (const PolygonShapeConf &arg) noexcept |
Gets the mass data for the given shape configuration. More... | |
Length2 | playrho::d2::GetEdge (const PolygonShapeConf &shape, VertexCounter index) |
void | playrho::d2::Transform (PolygonShapeConf &arg, const Mat22 &m) noexcept |
Transforms the given polygon configuration's vertices by the given transformation matrix. More... | |
bool | playrho::d2::Validate (const Span< const Length2 > verts) |
Validates the convexity of the given collection of vertices. More... | |