LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
RStarAcceptOverlapping< Node, Leaf > Struct Template Reference

#include "RStarVisitor.h"

Public Member Functions

 RStarAcceptOverlapping (const typename Node::BoundingBox &bound)
 
bool operator() (const Node *const node) const
 
bool operator() (const Leaf *const leaf) const
 

Public Attributes

const Node::BoundingBoxm_bound
 

Private Member Functions

 RStarAcceptOverlapping ()
 

Detailed Description

template<typename Node, typename Leaf>
struct RStarAcceptOverlapping< Node, Leaf >

Definition at line 56 of file RStarVisitor.h.

Constructor & Destructor Documentation

template<typename Node , typename Leaf >
RStarAcceptOverlapping< Node, Leaf >::RStarAcceptOverlapping ( const typename Node::BoundingBox bound)
inlineexplicit

Definition at line 59 of file RStarVisitor.h.

59 : m_bound(bound) {}
const Node::BoundingBox & m_bound
Definition: RStarVisitor.h:58
template<typename Node , typename Leaf >
RStarAcceptOverlapping< Node, Leaf >::RStarAcceptOverlapping ( )
inlineprivate

Definition at line 71 of file RStarVisitor.h.

Member Function Documentation

template<typename Node , typename Leaf >
bool RStarAcceptOverlapping< Node, Leaf >::operator() ( const Node *const  node) const
inline

Definition at line 61 of file RStarVisitor.h.

62  {
63  return m_bound.overlaps(node->bound);
64  }
const Node::BoundingBox & m_bound
Definition: RStarVisitor.h:58
template<typename Node , typename Leaf >
bool RStarAcceptOverlapping< Node, Leaf >::operator() ( const Leaf *const  leaf) const
inline

Definition at line 66 of file RStarVisitor.h.

67  {
68  return m_bound.overlaps(leaf->bound);
69  }
const Node::BoundingBox & m_bound
Definition: RStarVisitor.h:58

Member Data Documentation

template<typename Node , typename Leaf >
const Node::BoundingBox& RStarAcceptOverlapping< Node, Leaf >::m_bound

Definition at line 58 of file RStarVisitor.h.


The documentation for this struct was generated from the following file: