DistanceProxy.hpp File Reference
#include <PlayRho/Common/Math.hpp>
#include <PlayRho/Common/Range.hpp>
#include <vector>
#include <algorithm>

Go to the source code of this file.

Classes

class  playrho::d2::DistanceProxy
 Distance Proxy. More...
 

Namespaces

 playrho
 
 playrho::d2
 

Functions

bool playrho::d2::operator== (const DistanceProxy &lhs, const DistanceProxy &rhs) noexcept
 Determines with the two given distance proxies are equal. More...
 
bool playrho::d2::operator!= (const DistanceProxy &lhs, const DistanceProxy &rhs) noexcept
 Determines with the two given distance proxies are not equal. More...
 
NonNegative< Length > playrho::d2::GetVertexRadius (const DistanceProxy &arg) noexcept
 Gets the vertex radius property of a given distance proxy. More...
 
template<class T >
VertexCounter playrho::d2::GetSupportIndex (const DistanceProxy &proxy, T dir) noexcept
 Gets the supporting vertex index in the given direction for the given distance proxy. More...
 
std::size_t playrho::d2::FindLowestRightMostVertex (Span< const Length2 > vertices)
 Finds the lowest right most vertex in the given collection. More...
 
std::vector< Length2 > playrho::d2::GetConvexHullAsVector (Span< const Length2 > vertices)
 Gets the convex hull for the given collection of vertices as a vector. More...
 
bool playrho::d2::TestPoint (const DistanceProxy &proxy, Length2 point) noexcept
 Tests a point for containment in the given distance proxy. More...