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

Method intersect

dlib/geometry/drectangle.h:139–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 }
138
139 drectangle intersect (
140 const drectangle& rhs
141 ) const
142 {
143 return drectangle (
144 std::max(l,rhs.l),
145 std::max(t,rhs.t),
146 std::min(r,rhs.r),
147 std::min(b,rhs.b)
148 );
149 }
150
151 bool contains (
152 const dlib::vector<double,2>& p

Callers 1

intersectFunction · 0.45

Calls 3

drectangleClass · 0.70
maxFunction · 0.50
minFunction · 0.50

Tested by

no test coverage detected