PlayRho  1.1.0
An Interactive Real-Time-Oriented C++ Physics Engine & Library
playrho::d2::SeparationScenario Struct Reference

Separation scenario. More...

#include <SeparationScenario.hpp>

Collaboration diagram for playrho::d2::SeparationScenario:
[legend]

Public Types

enum  Type { e_points, e_faceA, e_faceB }
 Separation finder type.
 

Static Public Member Functions

static constexpr Type GetType (IndexPair3 indices)
 

Public Attributes

const DistanceProxyproxyA
 Distance proxy A.
 
const DistanceProxyproxyB
 Distance proxy B.
 
const UnitVec axis
 Axis. More...
 
const Length2 localPoint
 Local point. More...
 
const Type type
 The type of this scenario.
 

Detailed Description

Separation scenario.

Member Data Documentation

◆ axis

const UnitVec playrho::d2::SeparationScenario::axis

Axis.

Directional vector of the axis of separation.

◆ localPoint

const Length2 playrho::d2::SeparationScenario::localPoint

Local point.

Note
Only used if type is e_faceA or e_faceB.

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