diff --git a/docs/docs/algorithms.xml b/docs/docs/algorithms.xml index 9af472c8e..38ce182b3 100644 --- a/docs/docs/algorithms.xml +++ b/docs/docs/algorithms.xml @@ -59,6 +59,7 @@ resize_rect_height move_rect nearest_point + distance_to_rect_edge @@ -659,6 +660,20 @@ + + + + distance_to_rect_edge + dlib/geometry.h + dlib/geometry/rectangle_abstract.h + + This function takes a rectangle and a + point and returns the Manhattan distance between + the rectangle's edge and the point. + + + + diff --git a/docs/docs/term_index.xml b/docs/docs/term_index.xml index 9c049d337..1fcce542d 100644 --- a/docs/docs/term_index.xml +++ b/docs/docs/term_index.xml @@ -23,6 +23,7 @@ +