MCPcopy Create free account
hub / github.com/davisking/dlib / intersect

Method intersect

dlib/geometry/rectangle.h:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 rectangle intersect (
196 const rectangle& rhs
197 ) const
198 {
199 return rectangle (
200 std::max(l,rhs.l),
201 std::max(t,rhs.t),
202 std::min(r,rhs.r),
203 std::min(b,rhs.b)
204 );
205 }
206
207 bool contains (
208 const point& p

Callers 15

propagate_labelsFunction · 0.45
resample_datasetFunction · 0.45
py_sub_imageFunction · 0.45
intersectFunction · 0.45
intersectFunction · 0.45
border_enumeratorMethod · 0.45
resetMethod · 0.45
perform_testMethod · 0.45
run_testFunction · 0.45
run_test2Function · 0.45
sum_filter_iFunction · 0.45
scan_image_iFunction · 0.45

Calls 3

rectangleClass · 0.70
maxFunction · 0.50
minFunction · 0.50

Tested by 13

perform_testMethod · 0.36
run_testFunction · 0.36
run_test2Function · 0.36
sum_filter_iFunction · 0.36
scan_image_iFunction · 0.36
scan_image_oldFunction · 0.36
naive_max_filterFunction · 0.36
test_pyramid_down_rgbFunction · 0.36
box_percent_coveredFunction · 0.36
operator()Method · 0.36