From 7d4107847c0ce6797032d2da00ee41a019f4b388 Mon Sep 17 00:00:00 2001 From: Sergi Hernandez Juan <shernand@iri.upc.edu> Date: Tue, 22 Dec 2020 12:07:57 +0100 Subject: [PATCH] Added to spaces to the indentation. --- src/opendrive_arc.cpp | 2 +- src/opendrive_geometry.cpp | 6 +++--- src/opendrive_param_poly3.cpp | 8 ++++---- src/opendrive_spiral.cpp | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/opendrive_arc.cpp b/src/opendrive_arc.cpp index 9d4fe87..c08a1e6 100644 --- a/src/opendrive_arc.cpp +++ b/src/opendrive_arc.cpp @@ -33,7 +33,7 @@ bool COpendriveArc::transform_local_pose(TOpendriveTrackPoint &track,TOpendriveL void COpendriveArc::print(std::ostream &out) { COpendriveGeometry::print(out); - out << " curvature = " << this->get_curvature() << std::endl; + out << " curvature = " << this->get_curvature() << std::endl; } std::string COpendriveArc::get_name(void) diff --git a/src/opendrive_geometry.cpp b/src/opendrive_geometry.cpp index 8f96f6e..4f8779b 100644 --- a/src/opendrive_geometry.cpp +++ b/src/opendrive_geometry.cpp @@ -33,9 +33,9 @@ COpendriveGeometry::COpendriveGeometry(const COpendriveGeometry &object) void COpendriveGeometry::print(std::ostream& out) { - out << " Geometry " << this->get_name() << std::endl; - out << " lenght: " << this->get_length() << std::endl; - out << " pose: x = " << this->pose.x/this->scale_factor << ", y = " << this->pose.y/this->scale_factor << ", heading = " << this->pose.heading << std::endl; + out << " Geometry " << this->get_name() << std::endl; + out << " lenght: " << this->get_length() << std::endl; + out << " pose: x = " << this->pose.x/this->scale_factor << ", y = " << this->pose.y/this->scale_factor << ", heading = " << this->pose.heading << std::endl; } void COpendriveGeometry::load(const planView::geometry_type &geometry_info) diff --git a/src/opendrive_param_poly3.cpp b/src/opendrive_param_poly3.cpp index 4d66b3a..12cdddb 100644 --- a/src/opendrive_param_poly3.cpp +++ b/src/opendrive_param_poly3.cpp @@ -58,12 +58,12 @@ bool COpendriveParamPoly3::transform_local_pose(TOpendriveTrackPoint &track,TOpe void COpendriveParamPoly3::print(std::ostream &out) { COpendriveGeometry::print(out); - std::cout << " U params: a = " << this->u.a << ", b = " << this->u.b << ", c = " << this->u.c << ", d = " << this->u.d << std::endl; - std::cout << " V params: a = " << this->v.a << ", b = " << this->v.b << ", c = " << this->v.c << ", d = " << this->v.d << std::endl; + std::cout << " U params: a = " << this->u.a << ", b = " << this->u.b << ", c = " << this->u.c << ", d = " << this->u.d << std::endl; + std::cout << " V params: a = " << this->v.a << ", b = " << this->v.b << ", c = " << this->v.c << ", d = " << this->v.d << std::endl; if(this->normalized) - std::cout << " Normalized" << std::endl; + std::cout << " Normalized" << std::endl; else - std::cout << " Not normalized" << std::endl; + std::cout << " Not normalized" << std::endl; } std::string COpendriveParamPoly3::get_name(void) diff --git a/src/opendrive_spiral.cpp b/src/opendrive_spiral.cpp index 47a6863..6880f91 100644 --- a/src/opendrive_spiral.cpp +++ b/src/opendrive_spiral.cpp @@ -26,7 +26,7 @@ bool COpendriveSpiral::transform_local_pose(TOpendriveTrackPoint &track,TOpendri void COpendriveSpiral::print(std::ostream &out) { COpendriveGeometry::print(out); - out << " start_curvature = " << this->get_start_curvature() << ", end_curvature = " << this->get_end_curvature() << std::endl; + out << " start_curvature = " << this->get_start_curvature() << ", end_curvature = " << this->get_end_curvature() << std::endl; } void COpendriveSpiral::load_params(const planView::geometry_type &geometry_info) -- GitLab