Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ operator-
Function
operator-
libs/geometry/point2d.hpp:160–163 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
158
159
template <typename T>
160
Point<T> operator-(Point<T> const & a, Point<T> const & b)
161
{
162
return Point<T>(a.x - b.x, a.y - b.y);
163
}
164
165
template <typename T>
166
Point<T> operator+(Point<T> const & a, Point<T> const & b)
Callers
1
DiffRegions
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected