|
DistanceProxy | playrho::d2::GetChild (const DiskShapeConf &arg, ChildCounter index) |
| Gets the "child" of the given disk shape configuration.
|
|
constexpr ChildCounter | playrho::d2::GetChildCount (const DiskShapeConf &) noexcept |
| Gets the "child" count of the given disk shape configuration.
|
|
MassData | playrho::d2::GetMassData (const DiskShapeConf &arg) |
| Gets the mass data of the given disk shape configuration.
|
|
constexpr NonNegative< Length > | playrho::d2::GetVertexRadius (const DiskShapeConf &arg) noexcept |
| Gets the vertex radius of the given shape configuration.
|
|
constexpr NonNegative< Length > | playrho::d2::GetVertexRadius (const DiskShapeConf &arg, ChildCounter) noexcept |
| Gets the vertex radius of the given shape configuration.
|
|
bool | playrho::d2::operator!= (const DiskShapeConf &lhs, const DiskShapeConf &rhs) noexcept |
| Inequality operator.
|
|
bool | playrho::d2::operator== (const DiskShapeConf &lhs, const DiskShapeConf &rhs) noexcept |
| Equality operator.
|
|
void | playrho::d2::Rotate (DiskShapeConf &arg, const UnitVec &value) noexcept |
| Rotates the given shape configuration's vertices by the given amount.
|
|
void | playrho::d2::Scale (DiskShapeConf &arg, const Vec2 &value) noexcept |
| Scales the given shape configuration's vertices by the given amount.
|
|
void | playrho::d2::SetVertexRadius (DiskShapeConf &arg, ChildCounter, NonNegative< Length > value) |
| Sets the vertex radius of shape for the given index.
|
|
void | playrho::d2::Translate (DiskShapeConf &arg, const Length2 &value) noexcept |
| Translates the given shape configuration's vertices by the given amount.
|
|
Definition of the DiskShapeConf
class and closely related code.