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

#include <Rope.hpp>

Public Types

using size_type = size_t
 

Public Member Functions

constexpr Rope ()=default
 
 ~Rope ()
 
void Initialize (const RopeDef *def)
 
void Step (RealNum timeStep, int iterations)
 
size_type GetVertexCount () const noexcept
 
const Vec2GetVertices () const noexcept
 
Vec2 GetVertex (size_type index) const noexcept
 
void SetAngle (Angle angle)
 

Member Typedef Documentation

◆ size_type

Constructor & Destructor Documentation

◆ Rope()

constexpr box2d::Rope::Rope ( )
default

◆ ~Rope()

Rope::~Rope ( )

Member Function Documentation

◆ GetVertex()

Vec2 box2d::Rope::GetVertex ( size_type  index) const
inlinenoexcept

◆ GetVertexCount()

size_type box2d::Rope::GetVertexCount ( ) const
inlinenoexcept

◆ GetVertices()

const Vec2* box2d::Rope::GetVertices ( ) const
inlinenoexcept

◆ Initialize()

void Rope::Initialize ( const RopeDef def)

◆ SetAngle()

void Rope::SetAngle ( Angle  angle)

◆ Step()

void Rope::Step ( RealNum  timeStep,
int  iterations 
)

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