mirror of https://github.com/davisking/dlib.git
Added a convenient overload of translate_point.
This commit is contained in:
parent
dd43ba44b7
commit
53e825d35c
|
@ -783,6 +783,15 @@ namespace dlib
|
|||
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
|
||||
|
|
|
@ -576,6 +576,16 @@ namespace dlib
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue