Skip to content

Releases: jlblancoc/nanoflann

Release of v1.5.0

15 Jun 22:56
f1e47f0
Compare
Choose a tag to compare

nanoflann 1.5.0: Released Jun 16, 2023

  • API changes:
    • Users of radius search should change their result placeholder type:
      std::vector<std::pair<IndexType, DistanceType>> => std::vector<nanoflann::ResultItem<IndexType, DistanceType>>. (See #166 for the motivation of this change).
    • More concise auxiliary (internal) type name:
      array_or_vector_selector -> array_or_vector.
    • Remove obsolete parameter nChecks_IGNORED. Removed from SearchParams
      constructor too, so that structure has been renamed SearchParameters to
      enforce users to update the code and avoid mistakes with the order of its
      ctor parameters.
    • Added method RadiusResultSet::empty()
    • Template argument rename: AccesorType => IndexType (does not actually affect user code at all).
    • Added concurrent tree building support, refer to KDTreeSingleIndexAdaptorParams::n_thread_build.
  • Other changes:
    • Macros to avoid conflicts with X11 symbols.
    • Inline an auxiliary example function in case users want to use it and
      include the file in multiple translation units (Closes #182).
    • Move all benchmarking code, data, and scripts to its own repository to keep this repo as clean as possible.
    • Fix "potentially uninitialized" GCC warning.
    • Clarified, even more, in docs and examples, that L2 distances are squared distances.
    • Removed the (with modern compilers) now useless inline keyword in class members.
    • Add examples with GUI (requires mrpt-gui):
      • nanoflann_gui_example_R3: Radius search on R³ Euclidean space.
      • nanoflann_gui_example_bearings: NN search on non-Euclidean spaces.
  • BUGFIXES:
    • Avoid segfault if saving an empty index (Closes #205).

Release of v1.4.3

23 Jul 22:12
v1.4.3
2f54b8e
Compare
Choose a tag to compare

nanoflann 1.4.3: Released Jul 24, 2022

  • Added flag SkipInitialBuildIndex to allow not wasting time building a tree when it will be loaded from a file later on (PR #171).
  • Mark all constructors explicit, to avoid unintended creation of temporary objects (Issue #179).
  • BUGFIX: avoid potential index out of bounds in KDTreeSingleIndexDynamicAdaptor (PR #173)

Release of v1.4.2

11 Jan 09:29
b3e8183
Compare
Choose a tag to compare

nanoflann 1.4.2: Released Jan 11, 2022

  • Install pkg-config .pc file under lib directory (Closes #161).
  • Integrate AppVeyor CI.

Release of v1.4.1

06 Jan 19:02
05af582
Compare
Choose a tag to compare

nanoflann 1.4.1: Released Jan 6, 2022

  • Fix incorrect install directory for cmake target & config files.
  • Do not install example binaries with make install.
  • Provide working examples for cmake and pkgconfig under examples/example_* directories.

Release of v1.4.0

02 Jan 11:21
3adbc46
Compare
Choose a tag to compare

nanoflann 1.4.0: Released Jan 2, 2022

  • nanoflann::KDTreeSingleIndexAdaptor() ctor now forwards additional parameters to the metric class, enabling custom dynamic metrics.
  • Add and apply a .clang-format file (same one than used in MOLAorg/MOLA projects).
  • Examples: clean up and code modernization.
  • CMake variables prefixed now with NANOFLANN_ for easier integration of nanoflann as a Git submodule.
  • Fixes for IndexType which are not of integral types PR #154
  • save/load API upgraded from C FILE* to C++ file streams (By Dominic Kempf, Heidelberg University, PR).

Release of v1.3.2

05 Nov 06:55
b0f109a
Compare
Choose a tag to compare

nanoflann 1.3.2: Released Nov 5, 2020

  • Add optional argument for Eigen matrix layout commit.
  • Throw exception on malloc failure PR #126.
  • Respect GNUInstallDirs in CMake install rules PR #131.

Release of v1.3.1

11 Oct 19:58
Compare
Choose a tag to compare

nanoflann 1.3.1: Released Oct 11, 2019

  • Fixed bug in KDTreeSingleIndexDynamicAdaptor. See: a066148
  • Fix build in XCode.
  • Simplify CMakeLists for Eigen example (requires Eigen3Config.cmake now)
  • Avoid setting cmake global executable build path

Release of v1.3.0

28 Aug 11:16
v1.3.0
Compare
Choose a tag to compare

Changelog:

  • Instructions for make install for Linux and Windows (Closes #87).
  • Fix all (?) MSVC conversion warnings (Closes: #95).
  • Avoid need for _USE_MATH_DEFINES in MSVC (Closes: #96)
  • Eigen::Matrix datasets: now uses std::cref() to store a reference to matrix.
  • GSOC2017 contributions by Pranjal Kumar Rai:
    • Support for dynamic datasets.
    • Support for non-Euclidean spaces: SO(2), SO(3)

Release of 1.2.3

20 Dec 21:49
Compare
Choose a tag to compare

nanoflann 1.2.3: Released Dec 20, 2016

  • Fixed: split plane now correctly chooses the dimensions with the largest span.
    Should lead to more optimal trees.

Release of 1.2.2

10 Nov 13:09
Compare
Choose a tag to compare

nanoflann 1.2.2: Released Nov 10, 2016

  • knnSearch() now also returns the number of valid points found.