Commit 0af9abde authored by Davis King's avatar Davis King

updated docs

parent 22d368f4
...@@ -59,6 +59,7 @@ ...@@ -59,6 +59,7 @@
<item>resize_rect_height</item> <item>resize_rect_height</item>
<item>move_rect</item> <item>move_rect</item>
<item>nearest_point</item> <item>nearest_point</item>
<item>distance_to_rect_edge</item>
</sub> </sub>
</item> </item>
<item nolink="true"> <item nolink="true">
...@@ -659,6 +660,20 @@ ...@@ -659,6 +660,20 @@
</component> </component>
<!-- ************************************************************************* -->
<component>
<name>distance_to_rect_edge</name>
<file>dlib/geometry.h</file>
<spec_file link="true">dlib/geometry/rectangle_abstract.h</spec_file>
<description>
This function takes a <a href="#rectangle">rectangle</a> and a
<a href="#point">point</a> and returns the Manhattan distance between
the rectangle's edge and the point.
</description>
</component>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
<component> <component>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
<term file="dlib/geometry/rectangle_abstract.h.html" name="resize_rect_height"/> <term file="dlib/geometry/rectangle_abstract.h.html" name="resize_rect_height"/>
<term file="dlib/geometry/rectangle_abstract.h.html" name="centered_rect"/> <term file="dlib/geometry/rectangle_abstract.h.html" name="centered_rect"/>
<term file="dlib/geometry/rectangle_abstract.h.html" name="nearest_point"/> <term file="dlib/geometry/rectangle_abstract.h.html" name="nearest_point"/>
<term file="dlib/geometry/rectangle_abstract.h.html" name="distance_to_rect_edge"/>
<term file="dlib/geometry/rectangle_abstract.h.html" name="shrink_rect"/> <term file="dlib/geometry/rectangle_abstract.h.html" name="shrink_rect"/>
<term file="dlib/geometry/rectangle_abstract.h.html" name="grow_rect"/> <term file="dlib/geometry/rectangle_abstract.h.html" name="grow_rect"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment