Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1b70c9f9
Commit
1b70c9f9
authored
Jul 07, 2018
by
Davis King
Browse files
clarified spec
parent
a25f47a3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
dlib/geometry/vector_abstract.h
dlib/geometry/vector_abstract.h
+3
-0
No files found.
dlib/geometry/vector_abstract.h
View file @
1b70c9f9
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment