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

Function darea

tools/python/src/rectangles.cpp:33–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31double dwidth(const drectangle& r) { return r.width(); }
32double dheight(const drectangle& r) { return r.height(); }
33double darea(const drectangle& r) { return r.area(); }
34
35template <typename rect_type>
36bool is_empty(const rect_type& r) { return r.is_empty(); }

Callers

nothing calls this directly

Calls 1

areaMethod · 0.45

Tested by

no test coverage detected