Mitsuba Renderer  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
mitsuba::PointKDTree< _NodeType >::SearchResult Struct Reference

Result data type for k-nn queries. More...

#include <mitsuba/core/kdtree.h>

Public Member Functions

 SearchResult ()
 
 SearchResult (Float distSquared, IndexType index)
 
std::string toString () const
 
bool operator== (const SearchResult &r) const
 

Public Attributes

Float distSquared
 
IndexType index
 

Detailed Description

template<typename _NodeType>
struct mitsuba::PointKDTree< _NodeType >::SearchResult

Result data type for k-nn queries.

Constructor & Destructor Documentation

template<typename _NodeType>
mitsuba::PointKDTree< _NodeType >::SearchResult::SearchResult ( )
inline
template<typename _NodeType>
mitsuba::PointKDTree< _NodeType >::SearchResult::SearchResult ( Float  distSquared,
IndexType  index 
)
inline

Member Function Documentation

template<typename _NodeType>
bool mitsuba::PointKDTree< _NodeType >::SearchResult::operator== ( const SearchResult r) const
inline
template<typename _NodeType>
std::string mitsuba::PointKDTree< _NodeType >::SearchResult::toString ( ) const
inline

Member Data Documentation

template<typename _NodeType>
Float mitsuba::PointKDTree< _NodeType >::SearchResult::distSquared
template<typename _NodeType>
IndexType mitsuba::PointKDTree< _NodeType >::SearchResult::index

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