Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ contains
Method
contains
dlib/geometry/rectangle.h:207–214 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
205
}
206
207
bool contains (
208
const point& p
209
) const
210
{
211
if (p.x() < l || p.x() > r || p.y() < t || p.y() > b)
212
return false;
213
return true;
214
}
215
216
bool contains (
217
long x,
Callers
15
distance_to_rect_edge
Function · 0.45
nearest_rect
Function · 0.45
clip_line_to_rectangle
Function · 0.45
current_element_valid
Method · 0.45
advance_point
Method · 0.45
on_mouse_down
Method · 0.45
draw
Method · 0.45
on_mouse_down
Method · 0.45
on_mouse_move
Method · 0.45
draw
Method · 0.45
on_wheel_up
Method · 0.45
on_wheel_down
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected