KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
Public Types | Public Member Functions | Static Public Member Functions | List of all members
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction > Class Template Reference

#include <bins_static.h>

Inheritance diagram for Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >:
Collaboration diagram for Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >:

Public Types

enum  { Dimension = TDimension }
 
typedef TPointType PointType
 
typedef TContainerType ContainerType
 
typedef TIteratorType IteratorType
 
typedef TDistanceIteratorType DistanceIteratorType
 
typedef TPointerType PointerType
 
typedef TDistanceFunction DistanceFunction
 
typedef TreeNode< Dimension, PointType, PointerType, IteratorType, DistanceIteratorTypeTreeNodeType
 
typedef TreeNodeType::SizeType SizeType
 
typedef TreeNodeType::IndexType IndexType
 
typedef TreeNodeType::CoordinateType CoordinateType
 
typedef Tvector< CoordinateType, DimensionCoordinateArray
 
typedef Tvector< SizeType, DimensionSizeArray
 
typedef Tvector< IndexType, DimensionIndexArray
 
typedef TreeNodeType::IteratorIteratorType IteratorIteratorType
 
typedef TreeNodeType::SearchStructureType SearchStructureType
 
typedef std::vector< PointerTypeLocalContainerType
 
typedef LocalContainerType::iterator LocalIterator
 
typedef Tvector< IndexType, TDimension > CellType
 
typedef std::vector< IteratorTypeIteratorVector
 
typedef IteratorVector::iterator IteratorIterator
 
typedef IteratorVector::const_iterator IteratorConstIterator
 
typedef Kratos::SearchUtils::SearchNearestInRange< PointType, PointerType, IteratorType, DistanceFunction, CoordinateTypeSearchNearestInRange
 
typedef Kratos::SearchUtils::SearchRadiusInRange< PointType, IteratorType, DistanceIteratorType, DistanceFunction, SizeType, CoordinateTypeSearchRadiusInRange
 
typedef Kratos::SearchUtils::SearchBoxInRange< PointType, IteratorType, SizeType, TDimension > SearchBoxInRange
 
typedef LocalContainerType PointVector
 
typedef LocalIterator PointIterator
 
typedef TreeNodeType LeafType
 
- Public Types inherited from Kratos::TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator >
using SizeType = std::size_t
 Define SizeType as std::size_t. More...
 
using IndexType = std::size_t
 Define IndexType as std::size_t. More...
 
using CoordinateType = double
 Define CoordinateType as double. More...
 
using PointType = TPointType
 Define PointType as TPointType. More...
 
using PointerType = typename TContainerType::value_type
 Define PointerType as TPointerType. More...
 
using IteratorType = typename TContainerType::iterator
 Define IteratorType as TIteratorType. More...
 
using DistanceIteratorType = typename std::vector< double >::iterator
 Define DistanceIteratorType as TDistanceIteratorType. More...
 
using TreeNodeType = TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator >
 Define TreeNodeType as a TreeNode type with the given template arguments. More...
 
using IteratorIteratorType = typename std::vector< IteratorType >::iterator
 Define IteratorIteratorType as an iterator type for a vector of IteratorType. More...
 
using SearchStructureType = SearchStructure< IndexType, SizeType, CoordinateType, typename TContainerType::iterator, IteratorIteratorType, TDimension >
 Define SearchStructureType as a SearchStructure type with the given template arguments. More...
 

Public Member Functions

 KRATOS_CLASS_POINTER_DEFINITION (Bins)
 Pointer definition of Bins. More...
 
 Bins ()
 Default Constructor. More...
 
 Bins (IteratorType const &PointBegin, IteratorType const &PointEnd, SizeType BucketSize=1)
 Constructs a new BinsStatic Construct a new BinsStatic using a list of points and an automatically calculate cell size. More...
 
 Bins (IteratorType const &PointBegin, IteratorType const &PointEnd, PointType const &MinPoint, PointType const &MaxPoint, SizeType BucketSize=1)
 Constructs a new BinsStatic Construct a new BinsStatic using a list of points and an automatically calculate cell size and a custom bounding box. More...
 
 Bins (IteratorType const &PointBegin, IteratorType const &PointEnd, CoordinateType cellsize, SizeType BucketSize=1)
 Constructs a new BinsStatic. More...
 
 ~Bins () override
 
IteratorType Begin ()
 
IteratorType End ()
 
KRATOS_DEPRECATED CoordinateType CellSize (SizeType const &iDim)
 
KRATOS_DEPRECATED SizeType NumCell (SizeType const &iDim)
 
SizeArrayGetDivisions ()
 Get the Divisions object. More...
 
CoordinateArrayGetCellSize ()
 Get the Cell Size object. More...
 
PointTypeGetMinPoint ()
 Get the Min Point object. More...
 
PointTypeGetMaxPoint ()
 Get the Max Point object. More...
 
PointerType ExistPoint (PointerType const &ThisPoint, CoordinateType const Tolerance=static_cast< CoordinateType >(10.0 *DBL_EPSILON))
 Return the closest point to ThisPoint in case it exists or a null pointer otherwise. More...
 
PointerType SearchNearestPointInner (PointerType &ThisPoint)
 Return the nearest point to ThisPoint. This function can not return the same point. More...
 
PointerType SearchNearestPoint (PointType const &ThisPoint)
 Return the nearest point to ThisPoint. This function can return the same point with distance 0. More...
 
PointerType SearchNearestPoint (PointType const &ThisPoint, CoordinateType &rResultDistance)
 
PointerType SearchNearestPoint (PointType const &ThisPoint, CoordinateType &rResultDistance, SearchStructureType &Box)
 
void SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance) override
 
void SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance, SearchStructureType &Box) override
 
void SearchNearestPoint (PointerType const &ThisPoints, SizeType const &NumberOfPoints, IteratorType &Results, std::vector< CoordinateType > ResultsDistances)
 
void SearchNearestPointLocal (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance, SearchStructureType &Box)
 
void SearchNearestPointLocalInner (PointerType &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance, SearchStructureType &Box)
 
SizeType SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, IteratorType Results, DistanceIteratorType ResultsDistances, SizeType const &MaxNumberOfResults)
 
SizeType SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, IteratorType Results, DistanceIteratorType ResultsDistances, SizeType const &MaxNumberOfResults, SearchStructureType &Box)
 
void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) override
 
void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Box) override
 
void SearchInRadius (PointerType const &ThisPoints, SizeType const &NumberOfPoints, std::vector< CoordinateType > const &Radius, std::vector< IteratorType > Results, std::vector< DistanceIteratorType > ResultsDistances, std::vector< SizeType > &NumberOfResults, SizeType const &MaxNumberOfResults)
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box)
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box)
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box)
 
SizeType SearchInRadius (PointType const &ThisPoint, CoordinateType Radius, IteratorType Results, SizeType MaxNumberOfResults)
 
SizeType SearchInRadius (PointType const &ThisPoint, CoordinateType Radius, IteratorType Results, SizeType MaxNumberOfResults, SearchStructureType &Box)
 
void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) override
 
void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Box) override
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box)
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box)
 
void SearchInRadiusLocal (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box)
 
void SearchNearestInBox (PointType const &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box, bool &Found)
 
void SearchNearestInBox (PointType const &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box, bool &Found)
 
void SearchNearestInBox (PointType const &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box, bool &Found)
 
void SearchNearestInBoxInner (PointerType &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box, bool &Found)
 
void SearchNearestInBoxInner (PointerType &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box, bool &Found)
 
void SearchNearestInBoxInner (PointerType &ThisPoint, PointerType &ResultPoint, CoordinateType &ResultDistance, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box, bool &Found)
 
void SearchNearestInnerInRange (const IteratorType &RangeBegin, const IteratorType &RangeEnd, PointerType &ThisPoint, PointerType &Result, CoordinateType &Distance, bool &Found)
 
SizeType SearchInBox (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType Results, SizeType MaxNumberOfResults)
 
void SearchInBox (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults) override
 
void SearchInBoxLocal (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &ResultsPoint, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &Box)
 
void SearchInBoxLocal (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &ResultsPoint, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &Box)
 
void SearchInBoxLocal (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &ResultsPoint, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &Box)
 
virtual std::string Info () const
 Turn back information as a string. More...
 
virtual void PrintInfo (std::ostream &rOStream) const
 Print information about this object. More...
 
void PrintData (std::ostream &rOStream, std::string const &Perfix=std::string()) const override
 Print object's data. More...
 
void PrintSize (std::ostream &rout)
 Print Size of Container. More...
 
void PrintBox (std::ostream &rout)
 Print Limits Points of the Container. More...
 
Binsoperator= (Bins const &rOther)
 Assignment operator. More...
 
 Bins (Bins const &rOther)
 Copy constructor. More...
 
- Public Member Functions inherited from Kratos::TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator >
 KRATOS_CLASS_POINTER_DEFINITION (TreeNode)
 Pointer definition of TreeNode. More...
 
 TreeNode ()
 
virtual ~TreeNode ()
 
virtual void SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance)
 
virtual void SearchNearestPoint (PointType const &ThisPoint, PointerType &rResult, CoordinateType &rResultDistance, SearchStructureType &Auxiliar)
 
virtual void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults)
 
virtual void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, DistanceIteratorType &ResultsDistances, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Auxiliar)
 
virtual void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults)
 
virtual void SearchInRadius (PointType const &ThisPoint, CoordinateType const &Radius, CoordinateType const &Radius2, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults, SearchStructureType &Auxiliar)
 
virtual void SearchInBox (PointType const &SearchMinPoint, PointType const &SearchMaxPoint, IteratorType &Results, SizeType &NumberOfResults, SizeType const &MaxNumberOfResults)
 

Static Public Member Functions

static TreeNodeTypeConstruct (IteratorType PointsBegin, IteratorType PointsEnd, const PointType &MaxPoint, const PointType &MinPoint, SizeType BucketSize)
 
- Static Public Member Functions inherited from Kratos::TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator >
static IteratorTypeNullIterator ()
 
static PointerTypeNullPointer ()
 
static TreeNodeNullLeaf ()
 

Member Typedef Documentation

◆ CellType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Tvector<IndexType,TDimension> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CellType

◆ ContainerType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TContainerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::ContainerType

◆ CoordinateArray

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Tvector<CoordinateType,Dimension> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CoordinateArray

◆ CoordinateType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType::CoordinateType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CoordinateType

◆ DistanceFunction

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TDistanceFunction Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::DistanceFunction

◆ DistanceIteratorType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TDistanceIteratorType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::DistanceIteratorType

◆ IndexArray

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Tvector<IndexType,Dimension> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IndexArray

◆ IndexType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType::IndexType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IndexType

◆ IteratorConstIterator

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef IteratorVector::const_iterator Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorConstIterator

◆ IteratorIterator

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef IteratorVector::iterator Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorIterator

◆ IteratorIteratorType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType::IteratorIteratorType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorIteratorType

◆ IteratorType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TIteratorType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorType

◆ IteratorVector

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef std::vector<IteratorType> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorVector

◆ LeafType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LeafType

◆ LocalContainerType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef std::vector<PointerType> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LocalContainerType

◆ LocalIterator

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef LocalContainerType::iterator Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LocalIterator

◆ PointerType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TPointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointerType

◆ PointIterator

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef LocalIterator Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointIterator

◆ PointType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TPointType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointType

◆ PointVector

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef LocalContainerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointVector

◆ SearchBoxInRange

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Kratos::SearchUtils::SearchBoxInRange<PointType,IteratorType,SizeType,TDimension> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchBoxInRange

◆ SearchNearestInRange

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Kratos::SearchUtils::SearchNearestInRange<PointType,PointerType,IteratorType,DistanceFunction,CoordinateType> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInRange

◆ SearchRadiusInRange

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Kratos::SearchUtils::SearchRadiusInRange<PointType,IteratorType,DistanceIteratorType,DistanceFunction,SizeType,CoordinateType> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchRadiusInRange

◆ SearchStructureType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType::SearchStructureType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchStructureType

◆ SizeArray

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef Tvector<SizeType,Dimension> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SizeArray

◆ SizeType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNodeType::SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SizeType

◆ TreeNodeType

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
typedef TreeNode<Dimension,PointType,PointerType,IteratorType,DistanceIteratorType> Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::TreeNodeType

Member Enumeration Documentation

◆ anonymous enum

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
anonymous enum
Enumerator
Dimension 

Constructor & Destructor Documentation

◆ Bins() [1/5]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Bins ( )
inline

Default Constructor.

◆ Bins() [2/5]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Bins ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
SizeType  BucketSize = 1 
)
inline

Constructs a new BinsStatic Construct a new BinsStatic using a list of points and an automatically calculate cell size.

Parameters
PointBeginIterator to the first object of the bins
PointEndIterator to the last object of the bins
BucketSizeUnused.

◆ Bins() [3/5]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Bins ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
PointType const &  MinPoint,
PointType const &  MaxPoint,
SizeType  BucketSize = 1 
)
inline

Constructs a new BinsStatic Construct a new BinsStatic using a list of points and an automatically calculate cell size and a custom bounding box.

Parameters
PointBeginIterator to the first object of the bins
PointEndIterator to the last object of the bins
MinPointLower point of the custom bounding box
MaxPointUpper point of the custom bounding box
BucketSizeUnused

◆ Bins() [4/5]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Bins ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
CoordinateType  cellsize,
SizeType  BucketSize = 1 
)
inline

Constructs a new BinsStatic.

Constructs a new BinsObjectDynamic using a list of objects and an user provided cell size.

Parameters
PointBeginIterator to the first object of the bins
PointEndIterator to the last object of the bins
cellsizeSize of the cells (equal for every dimension)
BucketSizeUnsued

◆ ~Bins()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::~Bins ( )
inlineoverride

◆ Bins() [5/5]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Bins ( Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction > const &  rOther)

Copy constructor.

Member Function Documentation

◆ Begin()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
IteratorType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Begin ( )
inline

◆ CellSize()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
KRATOS_DEPRECATED CoordinateType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CellSize ( SizeType const &  iDim)
inline

◆ Construct()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
static TreeNodeType* Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Construct ( IteratorType  PointsBegin,
IteratorType  PointsEnd,
const PointType MaxPoint,
const PointType MinPoint,
SizeType  BucketSize 
)
inlinestatic

◆ End()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
IteratorType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::End ( )
inline

◆ ExistPoint()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::ExistPoint ( PointerType const &  ThisPoint,
CoordinateType const  Tolerance = static_cast<CoordinateType>(10.0*DBL_EPSILON) 
)
inline

Return the closest point to ThisPoint in case it exists or a null pointer otherwise.

Parameters
ThisPointSearched Point.
ToleranceTolerance of the search.
Returns
PointerType a pointer to the nearest point in case it exists or nullptr otherwise.

◆ GetCellSize()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
CoordinateArray& Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetCellSize ( )
inline

Get the Cell Size object.

Returns
CoordinateArray& Array containing the size of the Cell in each dimension

◆ GetDivisions()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeArray& Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetDivisions ( )
inline

Get the Divisions object.

Returns
SizeArray& Array containing the number of Cells in each dimension

◆ GetMaxPoint()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointType& Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetMaxPoint ( )
inline

Get the Max Point object.

Returns
PointType& Max point of the bins

◆ GetMinPoint()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointType& Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetMinPoint ( )
inline

Get the Min Point object.

Returns
PointType& Min point of the bins

◆ Info()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
virtual std::string Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Info ( ) const
inlinevirtual

Turn back information as a string.

◆ KRATOS_CLASS_POINTER_DEFINITION()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::KRATOS_CLASS_POINTER_DEFINITION ( Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >  )

Pointer definition of Bins.

◆ NumCell()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
KRATOS_DEPRECATED SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::NumCell ( SizeType const &  iDim)
inline

◆ operator=()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
Bins& Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::operator= ( Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction > const &  rOther)

Assignment operator.

◆ PrintBox()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PrintBox ( std::ostream &  rout)
inline

Print Limits Points of the Container.

◆ PrintData()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PrintData ( std::ostream &  rOStream,
std::string const &  Perfix = std::string() 
) const
inlineoverridevirtual

◆ PrintInfo()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
virtual void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PrintInfo ( std::ostream &  rOStream) const
inlinevirtual

Print information about this object.

◆ PrintSize()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PrintSize ( std::ostream &  rout)
inline

Print Size of Container.

◆ SearchInBox() [1/2]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInBox ( PointType const &  SearchMinPoint,
PointType const &  SearchMaxPoint,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults 
)
inlineoverride

◆ SearchInBox() [2/2]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInBox ( PointType const &  SearchMinPoint,
PointType const &  SearchMaxPoint,
IteratorType  Results,
SizeType  MaxNumberOfResults 
)
inline

◆ SearchInBoxLocal() [1/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInBoxLocal ( PointType const &  SearchMinPoint,
PointType const &  SearchMaxPoint,
IteratorType ResultsPoint,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &  Box 
)
inline

◆ SearchInBoxLocal() [2/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInBoxLocal ( PointType const &  SearchMinPoint,
PointType const &  SearchMaxPoint,
IteratorType ResultsPoint,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &  Box 
)
inline

◆ SearchInBoxLocal() [3/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInBoxLocal ( PointType const &  SearchMinPoint,
PointType const &  SearchMaxPoint,
IteratorType ResultsPoint,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &  Box 
)
inline

◆ SearchInRadius() [1/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointerType const &  ThisPoints,
SizeType const &  NumberOfPoints,
std::vector< CoordinateType > const &  Radius,
std::vector< IteratorType Results,
std::vector< DistanceIteratorType ResultsDistances,
std::vector< SizeType > &  NumberOfResults,
SizeType const &  MaxNumberOfResults 
)
inline

◆ SearchInRadius() [2/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
DistanceIteratorType ResultsDistances,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults 
)
inlineoverride

◆ SearchInRadius() [3/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
DistanceIteratorType ResultsDistances,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructureType Box 
)
inlineoverride

◆ SearchInRadius() [4/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults 
)
inlineoverride

◆ SearchInRadius() [5/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructureType Box 
)
inlineoverride

◆ SearchInRadius() [6/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
IteratorType  Results,
DistanceIteratorType  ResultsDistances,
SizeType const &  MaxNumberOfResults 
)
inline

◆ SearchInRadius() [7/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
IteratorType  Results,
DistanceIteratorType  ResultsDistances,
SizeType const &  MaxNumberOfResults,
SearchStructureType Box 
)
inline

◆ SearchInRadius() [8/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType  Radius,
IteratorType  Results,
SizeType  MaxNumberOfResults 
)
inline

◆ SearchInRadius() [9/9]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
SizeType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointType const &  ThisPoint,
CoordinateType  Radius,
IteratorType  Results,
SizeType  MaxNumberOfResults,
SearchStructureType Box 
)
inline

◆ SearchInRadiusLocal() [1/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
DistanceIteratorType ResultsDistances,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &  Box 
)
inline

◆ SearchInRadiusLocal() [2/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
DistanceIteratorType ResultsDistances,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &  Box 
)
inline

◆ SearchInRadiusLocal() [3/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
DistanceIteratorType ResultsDistances,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &  Box 
)
inline

◆ SearchInRadiusLocal() [4/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &  Box 
)
inline

◆ SearchInRadiusLocal() [5/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &  Box 
)
inline

◆ SearchInRadiusLocal() [6/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadiusLocal ( PointType const &  ThisPoint,
CoordinateType const &  Radius,
CoordinateType const &  Radius2,
IteratorType Results,
SizeType NumberOfResults,
SizeType const &  MaxNumberOfResults,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &  Box 
)
inline

◆ SearchNearestInBox() [1/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBox ( PointType const &  ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &  Box,
bool Found 
)
inline

◆ SearchNearestInBox() [2/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBox ( PointType const &  ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &  Box,
bool Found 
)
inline

◆ SearchNearestInBox() [3/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBox ( PointType const &  ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &  Box,
bool Found 
)
inline

◆ SearchNearestInBoxInner() [1/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBoxInner ( PointerType ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 1 > &  Box,
bool Found 
)
inline

◆ SearchNearestInBoxInner() [2/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBoxInner ( PointerType ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 2 > &  Box,
bool Found 
)
inline

◆ SearchNearestInBoxInner() [3/3]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInBoxInner ( PointerType ThisPoint,
PointerType ResultPoint,
CoordinateType ResultDistance,
SearchStructure< IndexType, SizeType, CoordinateType, IteratorType, IteratorIteratorType, 3 > &  Box,
bool Found 
)
inline

◆ SearchNearestInnerInRange()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInnerInRange ( const IteratorType RangeBegin,
const IteratorType RangeEnd,
PointerType ThisPoint,
PointerType Result,
CoordinateType Distance,
bool Found 
)
inline

◆ SearchNearestPoint() [1/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointerType const &  ThisPoints,
SizeType const &  NumberOfPoints,
IteratorType Results,
std::vector< CoordinateType ResultsDistances 
)
inline

◆ SearchNearestPoint() [2/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint)
inline

Return the nearest point to ThisPoint. This function can return the same point with distance 0.

Parameters
ThisPointSearched Point.
Returns
PointerType Pointer to the nearest element. ThisPoint in case it exists inside the bins.

◆ SearchNearestPoint() [3/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
CoordinateType rResultDistance 
)
inline

◆ SearchNearestPoint() [4/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inline

◆ SearchNearestPoint() [5/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
PointerType rResult,
CoordinateType rResultDistance 
)
inlineoverride

◆ SearchNearestPoint() [6/6]

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
PointerType rResult,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inlineoverride

◆ SearchNearestPointInner()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
PointerType Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPointInner ( PointerType ThisPoint)
inline

Return the nearest point to ThisPoint. This function can not return the same point.

Parameters
ThisPointSearched Point.
Returns
PointerType Pointer to the nearest element. Cannot return the same point as the one given as input.

◆ SearchNearestPointLocal()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPointLocal ( PointType const &  ThisPoint,
PointerType rResult,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inline

◆ SearchNearestPointLocalInner()

template<std::size_t TDimension, class TPointType , class TContainerType , class TPointerType = typename TContainerType::value_type, class TIteratorType = typename TContainerType::iterator, class TDistanceIteratorType = typename std::vector<double>::iterator, class TDistanceFunction = Kratos::SearchUtils::SquaredDistanceFunction<TDimension,TPointType>>
void Kratos::Bins< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPointLocalInner ( PointerType ThisPoint,
PointerType rResult,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inline

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