Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ area
Method
area
dlib/geometry/rectangle.h:169–173 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
167
}
168
169
unsigned long area (
170
) const
171
{
172
return width()*height();
173
}
174
175
bool is_empty (
176
) const { return (t > b || l > r); }
Callers
3
area
Function · 0.45
set_rect_area
Function · 0.45
set_aspect_ratio
Function · 0.45
Calls
2
width
Function · 0.85
height
Function · 0.85
Tested by
no test coverage detected