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
e3c38ba0
Commit
e3c38ba0
authored
Feb 28, 2015
by
Davis King
Browse files
Added a typedef for vector<double,2> called dpoint.
parent
8219dca2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
dlib/geometry/vector.h
dlib/geometry/vector.h
+1
-0
dlib/geometry/vector_abstract.h
dlib/geometry/vector_abstract.h
+6
-0
No files found.
dlib/geometry/vector.h
View file @
e3c38ba0
...
...
@@ -1272,6 +1272,7 @@ namespace dlib
// ----------------------------------------------------------------------------------------
typedef
vector
<
long
,
2
>
point
;
typedef
vector
<
double
,
2
>
dpoint
;
// ----------------------------------------------------------------------------------------
...
...
dlib/geometry/vector_abstract.h
View file @
e3c38ba0
...
...
@@ -438,6 +438,12 @@ namespace dlib
typedef
vector
<
long
,
2
>
point
;
/*!A dpoint
This is just a typedef of the vector object.
!*/
typedef
vector
<
double
,
2
>
dpoint
;
// ----------------------------------------------------------------------------------------
}
...
...
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