Public Member Functions | Public Attributes | List of all members
b2Island Class Reference

This is an internal class. More...

#include <b2Island.h>

Public Member Functions

void Add (b2Body *body)
 
void Add (b2Contact *contact)
 
void Add (b2Joint *joint)
 
 b2Island (int32 bodyCapacity, int32 contactCapacity, int32 jointCapacity, b2StackAllocator *allocator, b2ContactListener *listener)
 
void Clear ()
 
void Report (const b2ContactVelocityConstraint *constraints)
 
void Solve (b2Profile *profile, const b2TimeStep &step, const b2Vec2 &gravity, bool allowSleep)
 
void SolveTOI (const b2TimeStep &subStep, int32 toiIndexA, int32 toiIndexB)
 
 ~b2Island ()
 

Public Attributes

b2StackAllocatorm_allocator
 
b2Body ** m_bodies
 
int32 m_bodyCapacity
 
int32 m_bodyCount
 
int32 m_contactCapacity
 
int32 m_contactCount
 
b2Contact ** m_contacts
 
int32 m_jointCapacity
 
int32 m_jointCount
 
b2Joint ** m_joints
 
b2ContactListenerm_listener
 
b2Positionm_positions
 
b2Velocitym_velocities
 

Detailed Description

This is an internal class.

Definition at line 34 of file b2Island.h.

Constructor & Destructor Documentation

b2Island::b2Island ( int32  bodyCapacity,
int32  contactCapacity,
int32  jointCapacity,
b2StackAllocator allocator,
b2ContactListener listener 
)

Definition at line 148 of file b2Island.cpp.

b2Island::~b2Island ( )

Definition at line 173 of file b2Island.cpp.

Member Function Documentation

void b2Island::Add ( b2Body body)
inline

Definition at line 52 of file b2Island.h.

void b2Island::Add ( b2Contact contact)
inline

Definition at line 60 of file b2Island.h.

void b2Island::Add ( b2Joint joint)
inline

Definition at line 66 of file b2Island.h.

void b2Island::Clear ( )
inline

Definition at line 41 of file b2Island.h.

void b2Island::Report ( const b2ContactVelocityConstraint constraints)

Definition at line 516 of file b2Island.cpp.

void b2Island::Solve ( b2Profile profile,
const b2TimeStep step,
const b2Vec2 gravity,
bool  allowSleep 
)

Definition at line 183 of file b2Island.cpp.

void b2Island::SolveTOI ( const b2TimeStep subStep,
int32  toiIndexA,
int32  toiIndexB 
)

Definition at line 384 of file b2Island.cpp.

Member Data Documentation

b2StackAllocator* b2Island::m_allocator

Definition at line 74 of file b2Island.h.

b2Body** b2Island::m_bodies

Definition at line 77 of file b2Island.h.

int32 b2Island::m_bodyCapacity

Definition at line 88 of file b2Island.h.

int32 b2Island::m_bodyCount

Definition at line 84 of file b2Island.h.

int32 b2Island::m_contactCapacity

Definition at line 89 of file b2Island.h.

int32 b2Island::m_contactCount

Definition at line 86 of file b2Island.h.

b2Contact** b2Island::m_contacts

Definition at line 78 of file b2Island.h.

int32 b2Island::m_jointCapacity

Definition at line 90 of file b2Island.h.

int32 b2Island::m_jointCount

Definition at line 85 of file b2Island.h.

b2Joint** b2Island::m_joints

Definition at line 79 of file b2Island.h.

b2ContactListener* b2Island::m_listener

Definition at line 75 of file b2Island.h.

b2Position* b2Island::m_positions

Definition at line 81 of file b2Island.h.

b2Velocity* b2Island::m_velocities

Definition at line 82 of file b2Island.h.


The documentation for this class was generated from the following files:


mvsim
Author(s):
autogenerated on Thu Jun 6 2019 19:36:41