Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/comaps/comaps
/ ForEachCorner
Method
ForEachCorner
libs/geometry/rect2d.hpp:125–131 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
123
124
template <typename Fn>
125
void ForEachCorner(Fn && fn) const
126
{
127
fn(LeftTop());
128
fn(LeftBottom());
129
fn(RightBottom());
130
fn(RightTop());
131
}
132
133
template <typename Fn>
134
void ForEachSide(Fn && fn) const
Callers
1
GetBboxFor
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected