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

Method width

dlib/geometry/rectangle.h:151–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149 ) const { return point(right(), bottom()); }
150
151 unsigned long width (
152 ) const
153 {
154 if (is_empty())
155 return 0;
156 else
157 return r - l + 1;
158 }
159
160 unsigned long height (
161 ) const

Callers 3

operator()Method · 0.45
move_rectFunction · 0.45
set_rect_areaFunction · 0.45

Calls 1

is_emptyFunction · 0.85

Tested by

no test coverage detected