Commit 1b70c9f9 authored by Davis King's avatar Davis King

clarified spec

parent a25f47a3
...@@ -465,6 +465,9 @@ namespace dlib ...@@ -465,6 +465,9 @@ namespace dlib
const array_of_dpoints& pts const array_of_dpoints& pts
); );
/*! /*!
requires
- array_of_dpoints is something with an interface compatible with
std::vector<dpoint> or std::array<dpoint,N>.
ensures ensures
- If you walk the points pts in order to make a closed polygon, what is its - If you walk the points pts in order to make a closed polygon, what is its
area? This function returns that area. It uses the shoelace formula to area? This function returns that area. It uses the shoelace formula to
......
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