| 104 | } |
| 105 | |
| 106 | void set_inactive_plane_threshold ( |
| 107 | unsigned long inactive_thresh_ |
| 108 | ) |
| 109 | { |
| 110 | // make sure requires clause is not broken |
| 111 | DLIB_ASSERT(inactive_thresh_ > 0, |
| 112 | "\t void oca::set_inactive_plane_threshold" |
| 113 | << "\n\t inactive threshold must be greater than 0" |
| 114 | << "\n\t inactive_thresh_: " << inactive_thresh_ |
| 115 | << "\n\t this: " << this |
| 116 | ); |
| 117 | |
| 118 | inactive_thresh = inactive_thresh_; |
| 119 | } |
| 120 | |
| 121 | unsigned long get_inactive_plane_threshold ( |
| 122 | ) const { return inactive_thresh; } |