mirror of https://github.com/CGAL/cgal
Fix warnings
This commit is contained in:
parent
feaa8ce598
commit
34185bbae1
|
|
@ -133,6 +133,14 @@ int main(int argc, const char** argv)
|
||||||
* */
|
* */
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (converged)
|
||||||
|
std::cerr << "Success" << std::endl;
|
||||||
|
else
|
||||||
|
{
|
||||||
|
std::cerr << "Failure" << std::endl;
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
|
||||||
std::ofstream out("pwns2_aligned.ply");
|
std::ofstream out("pwns2_aligned.ply");
|
||||||
if (!out ||
|
if (!out ||
|
||||||
!CGAL::write_ply_points(
|
!CGAL::write_ply_points(
|
||||||
|
|
|
||||||
|
|
@ -82,9 +82,6 @@ compute_registration_transformation(const PointRange1& range1, const PointRan
|
||||||
VectorMap1 vector_map1, VectorMap2 vector_map2,
|
VectorMap1 vector_map1, VectorMap2 vector_map2,
|
||||||
Options<Kernel>& options)
|
Options<Kernel>& options)
|
||||||
{
|
{
|
||||||
typedef typename Kernel::Point_3 Point_3;
|
|
||||||
typedef typename Kernel::Vector_3 Vector_3;
|
|
||||||
|
|
||||||
typedef gr::Point3D<typename Kernel::FT> PointType;
|
typedef gr::Point3D<typename Kernel::FT> PointType;
|
||||||
|
|
||||||
namespace GR=gr;
|
namespace GR=gr;
|
||||||
|
|
|
||||||
|
|
@ -264,7 +264,6 @@ compute_registration_transformation(const PointRange1& range1, const PointRange2
|
||||||
using PM = PointMatcher<Scalar>;
|
using PM = PointMatcher<Scalar>;
|
||||||
using PM_cloud = typename PM::DataPoints;
|
using PM_cloud = typename PM::DataPoints;
|
||||||
using PM_matrix = typename PM::Matrix;
|
using PM_matrix = typename PM::Matrix;
|
||||||
using PM_labels = typename PM_cloud::Labels;
|
|
||||||
using PM_transform = typename PM::Transformation;
|
using PM_transform = typename PM::Transformation;
|
||||||
using PM_transform_params = typename PM::TransformationParameters;
|
using PM_transform_params = typename PM::TransformationParameters;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue