MCPcopy 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

areaFunction · 0.45
set_rect_areaFunction · 0.45
set_aspect_ratioFunction · 0.45

Calls 2

widthFunction · 0.85
heightFunction · 0.85

Tested by

no test coverage detected