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

Method area

dlib/geometry/drectangle.h:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 }
112
113 double area (
114 ) const
115 {
116 return width()*height();
117 }
118
119 bool is_empty (
120 ) 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