Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
53e825d3
Commit
53e825d3
authored
Apr 22, 2015
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a convenient overload of translate_point.
parent
dd43ba44
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
point_transforms.h
dlib/geometry/point_transforms.h
+9
-0
point_transforms_abstract.h
dlib/geometry/point_transforms_abstract.h
+10
-0
No files found.
dlib/geometry/point_transforms.h
View file @
53e825d3
...
@@ -783,6 +783,15 @@ namespace dlib
...
@@ -783,6 +783,15 @@ namespace dlib
return
point_transform_affine3d
(
identity_matrix
<
double
>
(
3
),
delta
);
return
point_transform_affine3d
(
identity_matrix
<
double
>
(
3
),
delta
);
}
}
inline
point_transform_affine3d
translate_point
(
double
x
,
double
y
,
double
z
)
{
return
translate_point
(
vector
<
double
>
(
x
,
y
,
z
));
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
class
camera_transform
class
camera_transform
...
...
dlib/geometry/point_transforms_abstract.h
View file @
53e825d3
...
@@ -576,6 +576,16 @@ namespace dlib
...
@@ -576,6 +576,16 @@ namespace dlib
point_transform_affine3d(identity_matrix<double>(3),delta);
point_transform_affine3d(identity_matrix<double>(3),delta);
!*/
!*/
point_transform_affine3d
translate_point
(
double
x
,
double
y
,
double
z
);
/*!
ensures
- returns translate_point(vector<double>(x,y,z))
!*/
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
class
camera_transform
class
camera_transform
...
...
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