Box2D  3.0.0
A Real-Time-Oriented 2-D Physics Engine
Public Attributes | List of all members
box2d::SeparationFinder::Data Struct Reference

Separation finder data. More...

#include <SeparationFinder.hpp>

Public Attributes

IndexPair indexPair
 Index pair. More...
 
Length distance
 Distance. More...
 

Detailed Description

Separation finder data.

Member Data Documentation

◆ distance

Length box2d::SeparationFinder::Data::distance

Distance.

Distance of separation between vertices indexed by the index-pair.

◆ indexPair

IndexPair box2d::SeparationFinder::Data::indexPair

Index pair.

Pair of indices of vertices for which distance is being returned for.

Note
The a index in this pair will be InvalidIndex for face-A type separarion finders.
The b index in this pair will be InvalidIndex for face-B type separarion finders.

The documentation for this struct was generated from the following file: