From dabc58abb9fe60fc68db7866a6ba1cd8cb6a0c1f Mon Sep 17 00:00:00 2001 From: David Seaward Date: Sat, 10 Oct 2015 13:14:55 +0200 Subject: [PATCH] * add final definition for getFinalSquaredDistance - see https://github.com/ethz-asl/libpointmatcher/issues/125 * give this experimental branch a semver-compliant version string --- pointmatcher/PointMatcher.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pointmatcher/PointMatcher.h b/pointmatcher/PointMatcher.h index 6ceb5d8b..03a8a1ba 100644 --- a/pointmatcher/PointMatcher.h +++ b/pointmatcher/PointMatcher.h @@ -68,7 +68,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. //! version of the Pointmatcher library as string -#define POINTMATCHER_VERSION "1.2.3" +#define POINTMATCHER_VERSION "1.2.3-previz_mod.2015.5" //! version of the Pointmatcher library as an int #define POINTMATCHER_VERSION_INT 10203 @@ -703,10 +703,12 @@ struct PointMatcher void loadFromYaml(const std::string& fileName); unsigned getPrefilteredReadingPtsCount() const; unsigned getPrefilteredReferencePtsCount() const; - + T getFinalSquaredDistance() const; + protected: unsigned prefilteredReadingPtsCount; //!< remaining number of points after prefiltering but before the iterative process unsigned prefilteredReferencePtsCount; //!< remaining number of points after prefiltering but before the iterative process + unsigned finalSquaredDistance; //!< the squared euclidean distance after the final iteration ICPChainBase();