playrho::d2::ConvexHull Class Reference
Convex hull. More...
#include <MultiShapeConf.hpp>
Public Member Functions | |
DistanceProxy | GetDistanceProxy () const |
Gets the distance proxy for this convex hull. More... | |
NonNegative< Length > | GetVertexRadius () const noexcept |
Gets the vertex radius of this convex hull. More... | |
ConvexHull & | Transform (const Mat22 &m) noexcept |
Transforms all the vertices by the given transformation matrix. More... | |
Static Public Member Functions | |
static ConvexHull | Get (const VertexSet &pointSet, NonNegative< Length > vertexRadius=NonNegative< Length >{DefaultLinearSlop *Real{2}}) |
Gets the convex hull for the given set of vertices. More... | |
Friends | |
bool | operator== (const ConvexHull &lhs, const ConvexHull &rhs) noexcept |
Equality operator. More... | |
bool | operator!= (const ConvexHull &lhs, const ConvexHull &rhs) noexcept |
Inequality operator. More... | |
Detailed Description
Convex hull.
Definition at line 36 of file MultiShapeConf.hpp.
Member Function Documentation
◆ Get()
|
static |
Gets the convex hull for the given set of vertices.
Definition at line 54 of file MultiShapeConf.cpp.
◆ GetDistanceProxy()
|
inline |
Gets the distance proxy for this convex hull.
Definition at line 45 of file MultiShapeConf.hpp.
◆ GetVertexRadius()
|
inlinenoexcept |
Gets the vertex radius of this convex hull.
- Returns
- Non-negative distance.
Definition at line 55 of file MultiShapeConf.hpp.
◆ Transform()
|
noexcept |
Transforms all the vertices by the given transformation matrix.
Definition at line 80 of file MultiShapeConf.cpp.
Friends And Related Function Documentation
◆ operator==
|
friend |
Equality operator.
Definition at line 65 of file MultiShapeConf.hpp.
◆ operator!=
|
friend |
Inequality operator.
Definition at line 72 of file MultiShapeConf.hpp.
The documentation for this class was generated from the following files:
- Collision/Shapes/MultiShapeConf.hpp
- Collision/Shapes/MultiShapeConf.cpp