Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ Between
Function
Between
libs/geometry/robust_orientation.hpp:26–29 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
template <typename T>
26
bool Between(T a, T b, T c)
27
{
28
return std::min(a, b) <= c && c <= std::max(a, b);
29
}
30
31
template <typename Point>
32
bool IsInSection(Point const & p1, Point const & p2, Point const & p)
Callers
6
IsInSection
Function · 0.70
ValidLon
Function · 0.70
ValidLat
Function · 0.70
ValidX
Function · 0.70
ValidY
Function · 0.70
check_set_from_rect
Function · 0.50
Calls
no outgoing calls
Tested by
1
check_set_from_rect
Function · 0.40