Spatial is a generic header-only C++ library providing multi-dimensional in-memory containers, iterators and functionals. Spatial is a general purpose library with good overall performance thanks to its self-balancing k-d tree containers. Spatial makes it easy to search for nearest neighbors, orthogonal
ranges, or perform ordering of objects in any number of dimensions.

Spatial's design borrows heavily from the STL, and strives to follow it's elegant interface; therefore Spatial's containers, iterators and functionals integrate well with the STL. Additionally, Spatial's self-balancing kd-tree based containers, capable of object insertion and removal in fractional amortized time, prevent worst-case computational time on most operations.

The latest release brings bug fixes and wide array of performance improvement across several algorithms. Nearest neighbor search, in particular, has been improved significantly.

Features

  • Generic implementation of kd-trees in C++
  • API design is similar to the STL
  • Aim at good overall performance with self-balancing containers
  • Sort objects along several dimensions that may be of different types
  • static (compile-time) or dynamic (run-time) determination of the number of dimensions
  • Insertions and removals in fractional amortized time
  • Iteration over an orthogonal range
  • Iteration over n neighbors, from nearest to furthest
  • Iteration over a single dimension, independantly from others

Project Activity

See All Activity >

Categories

Libraries

License

Boost Software License (BSL1.0)

Follow Spatial C++ Library

Spatial C++ Library Web Site

You Might Also Like
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ Icon
Automated quote and proposal software for IT solution providers. | ConnectWise CPQ

Create IT quote templates, automate workflows, add integrations & price catalogs to save time & reduce errors on manual data entry & updates.

ConnectWise CPQ, formerly ConnectWise Sell, is a professional quote and proposal automation software for IT solution providers. ConnectWise CPQ offers a wide range of tools that enables IT solution providers to save time, quote more, and win big. Top features include professional quote or proposal templates, product catalog and sourcing, workflow automation, sales reporting, and integrations with best-in-breed solutions like Cisco, Dell, HP, and Salesforce.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Spatial C++ Library!

Additional Project Details

Operating Systems

Linux, BSD, Windows

Languages

English

Intended Audience

Developers

Programming Language

C++

Related Categories

C++ Libraries

Registered

2011-03-07