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
112d32af
Commit
112d32af
authored
Jul 03, 2018
by
Davis King
Browse files
Fixed spelling errors in comment.
parent
e6b52962
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/geometry/point_transforms.h
dlib/geometry/point_transforms.h
+2
-2
No files found.
dlib/geometry/point_transforms.h
View file @
112d32af
...
...
@@ -217,11 +217,11 @@ namespace dlib
dpoint
tr
=
r
.
tr_corner
();
dpoint
bl
=
r
.
bl_corner
();
dpoint
br
=
r
.
br_corner
();
// The new rectangle wou
o
ld ideally have this area if we could actually rot
r
ate
// The new rectangle would ideally have this area if we could actually rotate
// the box.
double
new_area
=
length
(
tform
(
tl
)
-
tform
(
tr
))
*
length
(
tform
(
tl
)
-
tform
(
bl
));
// But if we rotate the coners of the rectangle and then find the rectangle
// But if we rotate the co
r
ners of the rectangle and then find the rectangle
// that contains them we get this, which might have a much larger area than we
// want.
drectangle
temp
;
...
...
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