AABBtree  0.0.0
A C++ non-recursive ND AABB tree
Loading...
Searching...
No Matches
AABBtree.hh File Reference
#include <limits>
#include <type_traits>
#include <array>
#include <vector>
#include <queue>
#include <set>
#include <map>
#include <iostream>
#include <utility>
#include <memory>
#include <algorithm>
#include <numeric>
#include <iterator>
#include <functional>
#include <Eigen/Dense>
#include <Eigen/Geometry>
#include "AABBtree/Box.hxx"
#include "AABBtree/Ray.hxx"
#include "AABBtree/Tree.hxx"
Include dependency graph for AABBtree.hh:

Go to the source code of this file.

Namespaces

namespace  AABBtree
 Namespace for the AABBtree library.
 

Macros

#define INCLUDE_AABBTREE_HH
 
#define AABBTREE_ERROR(MSG)
 
#define AABBTREE_ASSERT(COND, MSG)
 
#define AABBTREE_WARNING(MSG)
 
#define AABBTREE_ASSERT_WARNING(COND, MSG)
 
#define AABBTREE_DEFAULT_INTEGER_TYPE   int
 

Typedefs

using AABBtree::Integer = AABBTREE_DEFAULT_INTEGER_TYPE
 The Integer type used in the AABBtree class.
 
using AABBtree::IndexSet = std::set<Integer>
 
using AABBtree::IndexMap = std::map<Integer, IndexSet>
 
using AABBtree::IndexList = std::vector<Integer>
 
using AABBtree::OutStream = std::basic_ostream<char>
 
template<typename Real, Integer N>
using AABBtree::BoxUniquePtr = std::unique_ptr<Box<Real, N>>
 
template<typename Real, Integer N>
using AABBtree::BoxUniquePtrList = std::vector<BoxUniquePtr<Real, N>>
 
template<typename Real, Integer N>
using AABBtree::Vector = Eigen::Vector<Real, N>
 
template<typename Real, Integer N>
using AABBtree::Point = Eigen::Vector<Real, N>
 

Macro Definition Documentation

◆ AABBTREE_ASSERT

#define AABBTREE_ASSERT ( COND,
MSG )
Value:
if (!(COND)) { AABBTREE_ERROR(MSG); }
#define AABBTREE_ERROR(MSG)
Definition AABBtree.hh:38

◆ AABBTREE_ASSERT_WARNING

#define AABBTREE_ASSERT_WARNING ( COND,
MSG )
Value:
if (!(COND)) { AABBTREE_WARNING(MSG); }
#define AABBTREE_WARNING(MSG)
Definition AABBtree.hh:51

◆ AABBTREE_DEFAULT_INTEGER_TYPE

#define AABBTREE_DEFAULT_INTEGER_TYPE   int

◆ AABBTREE_ERROR

#define AABBTREE_ERROR ( MSG)
Value:
{ \
std::ostringstream os; os << MSG; \
throw std::runtime_error(os.str()); \
}

◆ AABBTREE_WARNING

#define AABBTREE_WARNING ( MSG)
Value:
{ std::cout << MSG << '\n' }

◆ INCLUDE_AABBTREE_HH

#define INCLUDE_AABBTREE_HH