Distance.hpp File Reference

Go to the source code of this file.

Classes

struct  playrho::d2::DistanceConf
 Distance Configuration. More...
 
struct  playrho::d2::DistanceOutput
 Distance Output. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Typedefs

using playrho::PairLength2 = std::pair< Length2, Length2 >
 Pair of Length2 values. More...
 

Functions

PairLength2 playrho::d2::GetWitnessPoints (const Simplex &simplex) noexcept
 Gets the witness points of the given simplex. More...
 
PLAYRHO_CONSTEXPR Length2 playrho::d2::GetDelta (PairLength2 arg) noexcept
 Gets the delta to go from the first element to the second. More...
 
DistanceConf playrho::d2::GetDistanceConf (const ToiConf &conf) noexcept
 Gets the distance configuration for the given time of impact configuration. More...
 
DistanceOutput playrho::d2::Distance (const DistanceProxy &proxyA, const Transformation &transformA, const DistanceProxy &proxyB, const Transformation &transformB, DistanceConf conf=DistanceConf{})
 Determines the closest points between two shapes. More...
 
Area playrho::d2::TestOverlap (const DistanceProxy &proxyA, const Transformation &xfA, const DistanceProxy &proxyB, const Transformation &xfB, DistanceConf conf=DistanceConf{})
 Determine if two generic shapes overlap. More...