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

Method height

dlib/geometry/drectangle.h:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 double height (
105 ) const
106 {
107 if (is_empty())
108 return 0;
109 else
110 return b - t + 1;
111 }
112
113 double area (
114 ) const

Callers 1

set_rect_areaFunction · 0.45

Calls 1

is_emptyFunction · 0.85

Tested by

no test coverage detected