Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Types | Public Member Functions | Public Attributes | List of all members
box2d::Island Class Reference

Island. More...

#include <Island.hpp>

Public Types

using Bodies = std::vector< Body * >
 
using Contacts = std::vector< Contact * >
 
using Joints = std::vector< Joint * >
 

Public Member Functions

 Island (Bodies::size_type bodyCapacity, Contacts::size_type contactCapacity, Joints::size_type jointCapacity)
 
 Island (const Island &copy) noexcept
 
 Island (Island &&other) noexcept
 
 ~Island ()=default
 Destructor. More...
 
Islandoperator= (Island &&other) noexcept
 

Public Attributes

Bodies m_bodies
 
Contacts m_contacts
 
Joints m_joints
 

Detailed Description

Island.

A container of bodies contacts and joints relavent to handling world dynamics.

Note
This is an internal class.
This data structure is 72-bytes large (on at least one 64-bit platform).

Member Typedef Documentation

◆ Bodies

using box2d::Island::Bodies = std::vector<Body*>

◆ Contacts

using box2d::Island::Contacts = std::vector<Contact*>

◆ Joints

using box2d::Island::Joints = std::vector<Joint*>

Constructor & Destructor Documentation

◆ Island() [1/3]

Island::Island ( Bodies::size_type  bodyCapacity,
Contacts::size_type  contactCapacity,
Joints::size_type  jointCapacity 
)

◆ Island() [2/3]

box2d::Island::Island ( const Island copy)
inlinenoexcept

◆ Island() [3/3]

box2d::Island::Island ( Island &&  other)
inlinenoexcept

◆ ~Island()

box2d::Island::~Island ( )
default

Destructor.

Member Function Documentation

◆ operator=()

Island& box2d::Island::operator= ( Island &&  other)
inlinenoexcept

Member Data Documentation

◆ m_bodies

Bodies box2d::Island::m_bodies

◆ m_contacts

Contacts box2d::Island::m_contacts

◆ m_joints

Joints box2d::Island::m_joints

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