Go to the documentation of this file.
43 void Set(
const b2Vec2* vertices,
int32 count,
float radius);
52 int32 GetVertexCount()
const;
144 if (value > bestValue)
161 if (value > bestValue)
int32 iterations
number of GJK iterations used
const b2Vec2 * m_vertices
B2_API void b2Distance(b2DistanceOutput *output, b2SimplexCache *cache, const b2DistanceInput *input)
int32 GetSupport(const b2Vec2 &d) const
Get the supporting vertex index in the given direction.
const b2Vec2 & GetVertex(int32 index) const
Get a vertex by index. Used by b2Distance.
float metric
length or area
B2_API bool b2ShapeCast(b2ShapeCastOutput *output, const b2ShapeCastInput *input)
b2Vec2 pointB
closest point on shapeB
b2Vec2 pointA
closest point on shapeA
float b2Dot(const b2Vec2 &a, const b2Vec2 &b)
Perform the dot product on two vectors.
Output results for b2ShapeCast.
int32 GetVertexCount() const
Get the vertex count.
const b2Vec2 & GetSupportVertex(const b2Vec2 &d) const
Get the supporting vertex in the given direction.
mvsim
Author(s):
autogenerated on Wed May 28 2025 02:13:07