| 49 | } |
| 50 | |
| 51 | bool BoxChecker::is_on_boundary_corners(const VectorF& p) const { |
| 52 | if (!is_on_boundary(p)) return false; |
| 53 | return get_dim_on_border(p) == m_dim; |
| 54 | } |
| 55 | |
| 56 | size_t BoxChecker::get_dim_on_border(const VectorF& p) const { |
| 57 | VectorF dist_to_min = p - m_bbox_min; |
no outgoing calls