|
DistanceProxy | playrho::d2::GetChild (const PolygonShapeConf &arg, ChildCounter index) |
| Gets the "child" shape for the given shape configuration.
|
|
constexpr ChildCounter | playrho::d2::GetChildCount (const PolygonShapeConf &) noexcept |
| Gets the "child" count for the given shape configuration. More...
|
|
MassData | playrho::d2::GetMassData (const PolygonShapeConf &arg) |
| Gets the mass data for the given shape configuration.
|
|
NonNegative< Length > | playrho::d2::GetVertexRadius (const PolygonShapeConf &arg) noexcept |
| Gets the vertex radius of the given shape configuration.
|
|
NonNegative< Length > | playrho::d2::GetVertexRadius (const PolygonShapeConf &arg, ChildCounter) noexcept |
| Gets the vertex radius of the given shape configuration.
|
|
void | playrho::d2::Rotate (PolygonShapeConf &arg, const UnitVec &value) |
| Rotates the given shape configuration's vertices by the given amount.
|
|
void | playrho::d2::Scale (PolygonShapeConf &arg, const Vec2 &value) |
| Scales the given shape configuration's vertices by the given amount.
|
|
void | playrho::d2::SetVertexRadius (PolygonShapeConf &arg, ChildCounter, NonNegative< Length > value) |
| Sets the vertex radius of the shape for the given index.
|
|
void | playrho::d2::SetVertexRadius (PolygonShapeConf &arg, NonNegative< Length > value) |
| Sets the vertex radius of the shape.
|
|
void | playrho::d2::Transform (PolygonShapeConf &arg, const Mat22 &m) |
| Transforms the given polygon configuration's vertices by the given transformation matrix. More...
|
|
void | playrho::d2::Translate (PolygonShapeConf &arg, const Length2 &value) |
| Translates the given shape configuration's vertices by the given amount.
|
|
bool | playrho::d2::Validate (const Span< const Length2 > &verts) |
| Validates the convexity of the given collection of vertices. More...
|
|
Definition of the PolygonShapeConf
class and closely related code.