Classes | Functions
b2_collide_edge.cpp File Reference
#include "box2d/b2_collision.h"
#include "box2d/b2_circle_shape.h"
#include "box2d/b2_edge_shape.h"
#include "box2d/b2_polygon_shape.h"
Include dependency graph for b2_collide_edge.cpp:

Go to the source code of this file.

Classes

struct  b2EPAxis
 
struct  b2ReferenceFace
 
struct  b2TempPolygon
 

Functions

void b2CollideEdgeAndCircle (b2Manifold *manifold, const b2EdgeShape *edgeA, const b2Transform &xfA, const b2CircleShape *circleB, const b2Transform &xfB)
 Compute the collision manifold between an edge and a circle. More...
 
void b2CollideEdgeAndPolygon (b2Manifold *manifold, const b2EdgeShape *edgeA, const b2Transform &xfA, const b2PolygonShape *polygonB, const b2Transform &xfB)
 Compute the collision manifold between an edge and a polygon. More...
 
static b2EPAxis b2ComputeEdgeSeparation (const b2TempPolygon &polygonB, const b2Vec2 &v1, const b2Vec2 &normal1)
 
static b2EPAxis b2ComputePolygonSeparation (const b2TempPolygon &polygonB, const b2Vec2 &v1, const b2Vec2 &v2)
 

Function Documentation

◆ b2CollideEdgeAndCircle()

void b2CollideEdgeAndCircle ( b2Manifold manifold,
const b2EdgeShape edgeA,
const b2Transform xfA,
const b2CircleShape circleB,
const b2Transform xfB 
)

Compute the collision manifold between an edge and a circle.

Definition at line 31 of file b2_collide_edge.cpp.

◆ b2CollideEdgeAndPolygon()

void b2CollideEdgeAndPolygon ( b2Manifold manifold,
const b2EdgeShape edgeA,
const b2Transform xfA,
const b2PolygonShape polygonB,
const b2Transform xfB 
)

Compute the collision manifold between an edge and a polygon.

Definition at line 269 of file b2_collide_edge.cpp.

◆ b2ComputeEdgeSeparation()

static b2EPAxis b2ComputeEdgeSeparation ( const b2TempPolygon polygonB,
const b2Vec2 v1,
const b2Vec2 normal1 
)
static

Definition at line 205 of file b2_collide_edge.cpp.

◆ b2ComputePolygonSeparation()

static b2EPAxis b2ComputePolygonSeparation ( const b2TempPolygon polygonB,
const b2Vec2 v1,
const b2Vec2 v2 
)
static

Definition at line 241 of file b2_collide_edge.cpp.



mvsim
Author(s):
autogenerated on Tue Jul 4 2023 03:08:22