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.
Classes | Static Public Member Functions | List of all members
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction > Class Template Reference

A dynamic binning data structure template for organizing and querying points in multi-dimensional space. More...

#include <bins_dynamic.h>

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

Classes

struct  GetObjectType
 
struct  GetObjectType< T, std::void_t< typename T::ObjectType > >
 

Public Member Functions

Life Cycle
 BinsDynamic ()
 Default constructor for BinsDynamic. More...
 
 BinsDynamic (IteratorType const &PointBegin, IteratorType const &PointEnd, SizeType BucketSize=1)
 Constructor for BinsDynamic with iterators and optional bucket size. More...
 
 BinsDynamic (IteratorType const &PointBegin, IteratorType const &PointEnd, PointType const &MinPoint, PointType const &MaxPoint, SizeType BucketSize=1)
 Constructor for BinsDynamic with iterators, min point, max point, and optional bucket size. More...
 
 BinsDynamic (PointType const &MinPoint, PointType const &MaxPoint, SizeType BucketSize)
 Constructor for BinsDynamic with min point, max point, and optional bucket size. More...
 
 BinsDynamic (IteratorType const &PointBegin, IteratorType const &PointEnd, CoordinateType BoxSize, SizeType BucketSize=1)
 Constructor for BinsDynamic with iterators, box size, and optional bucket size. More...
 
 ~BinsDynamic () override
 
Access
IteratorType Begin ()
 Get an iterator pointing to the beginning of the point data. More...
 
IteratorType End ()
 Get an iterator pointing to the end of the point data. More...
 
KRATOS_DEPRECATED CoordinateType CellSize (SizeType const &iDim)
 Get the size of a cell in a specific dimension. More...
 
KRATOS_DEPRECATED SizeType NumCell (SizeType const &iDim)
 Get the number of cells in a specific dimension. More...
 
CellContainerTypeGetCellContainer ()
 Get the Cell Container object. More...
 
SizeArrayGetDivisions ()
 Get the Divisions object. More...
 
CoordinateArrayGetCellSize ()
 Get the Cell Size object. More...
 
PointTypeGetMinPoint ()
 Get a reference to the low point of the bounding box. More...
 
PointTypeGetMaxPoint ()
 Get a reference to the high point of the bounding box. More...
 
BoundingBox< PointType > & GetBoundingBox ()
 Get the bounding box. More...
 
Operations
void CalculateBoundingBox ()
 Calculate the bounding box of the tree node. More...
 
void CalculateCellSize (const std::size_t ApproximatedSize)
 Calculates the cell size of the bins. More...
 
void AssignCellSize (CoordinateType BoxSize)
 Assign a uniform cell size for all dimensions. More...
 
void AllocateCellsContainer ()
 Allocate memory for the cell container. More...
 
void GenerateBins ()
 Generate bins by assigning points to cells. More...
 
IndexType CalculatePosition (CoordinateType const &ThisCoord, SizeType ThisDimension)
 Calculate the position of a coordinate in a specific dimension. More...
 
IndexType CalculateIndex (PointType const &ThisPoint)
 Calculate the index of a point within the cell container. More...
 
IndexType CalculateIndex (CellType const &ThisIndex)
 Calculate the index of a cell within the cell container. More...
 
CellType CalculateCell (PointType const &ThisPoint)
 Calculate the cell index of a point. More...
 
CellType CalculateCell (PointType const &ThisPoint, CoordinateType Radius)
 Calculate the cell index of a point with an added radius. More...
 
void AddPoint (PointerType const &ThisPoint)
 Add a point to the appropriate cell. More...
 
PointerType ExistPoint (PointerType const &ThisPoint, CoordinateType const Tolerance=static_cast< CoordinateType >(10.0 *DBL_EPSILON))
 
PointerType SearchNearestPoint (PointType const &ThisPoint)
 
PointerType SearchNearestPoint (PointType const &ThisPoint, CoordinateType &ResultDistance)
 
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 (PointType *const &ThisPoints, SizeType const &NumberOfPoints, IteratorType &Results, std::vector< CoordinateType > ResultsDistances)
 
void SearchNearestPointLocal (PointType const &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, CoordinateVectorType const &Radius, IteratorVectorType Results, DistanceIteratorVectorType 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)
 
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...
 
BinsDynamicoperator= (BinsDynamic const &rOther)
 Assignment operator. More...
 
 BinsDynamic (BinsDynamic 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, std::vector< typename TContainerType::value_type >::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, PointType MaxPoint, PointType MinPoint, SizeType BucketSize)
 Bins Access Vector ( vector<Iterator> ) More...
 
- Static Public Member Functions inherited from Kratos::TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator, std::vector< typename TContainerType::value_type >::iterator >
static IteratorTypeNullIterator ()
 
static PointerTypeNullPointer ()
 
static TreeNodeNullLeaf ()
 

Type Definitions

enum  { Dimension = TDimension }
 
using PointType = TPointType
 
using BoundingBoxType = BoundingBox< PointType >
 
using ObjectType = typename GetObjectType< PointType >::type
 
using ContainerType = TContainerType
 
using IteratorType = TIteratorType
 
using DistanceIteratorType = TDistanceIteratorType
 
using PointerType = TPointerType
 
using DistanceFunction = TDistanceFunction
 
using TreeNodeType = TreeNode< Dimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType >
 
using CoordinateType = typename TreeNodeType::CoordinateType
 
using SizeType = typename TreeNodeType::SizeType
 
using IndexType = typename TreeNodeType::IndexType
 
using CoordinateArray = Tvector< CoordinateType, Dimension >
 
using SizeArray = Tvector< SizeType, Dimension >
 
using IndexArray = Tvector< IndexType, Dimension >
 
using IteratorIteratorType = typename TreeNodeType::IteratorIteratorType
 
using SearchStructureType = typename TreeNodeType::SearchStructureType
 
using LocalContainerType = std::vector< PointerType >
 
using LocalIterator = typename LocalContainerType::iterator
 
using CellType = Tvector< IndexType, Dimension >
 
using CellContainerType = std::vector< LocalContainerType >
 
using SearchNearestInRange = Kratos::SearchUtils::SearchNearestInRange< PointType, PointerType, LocalIterator, DistanceFunction, CoordinateType >
 
using SearchRadiusInRange = Kratos::SearchUtils::SearchRadiusInRange< PointType, LocalIterator, DistanceIteratorType, DistanceFunction, SizeType, CoordinateType, IteratorType >
 
using SearchBoxInRange = Kratos::SearchUtils::SearchBoxInRange< PointType, LocalIterator, SizeType, Dimension, IteratorType >
 
using CoordinateVectorType = std::vector< CoordinateType >
 
using IteratorVectorType = std::vector< IteratorType >
 
using DistanceIteratorVectorType = std::vector< DistanceIteratorType >
 
using PointVector = LocalContainerType
 
using PointIterator = LocalIterator
 
using LeafType = TreeNodeType
 
 KRATOS_CLASS_POINTER_DEFINITION (BinsDynamic)
 Pointer definition of BinsDynamic. More...
 

Additional Inherited Members

- Public Types inherited from Kratos::TreeNode< TDimension, TPointType, typename TContainerType::value_type, typename TContainerType::iterator, typename std::vector< double >::iterator, std::vector< typename TContainerType::value_type >::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...
 

Detailed Description

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>>
class Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >

A dynamic binning data structure template for organizing and querying points in multi-dimensional space.

The BinsDynamic class template provides a dynamic binning data structure for organizing and querying points in a multi-dimensional space. It is parameterized by the dimension of the space, the point type, the container type for storing points, and other optional template parameters for specifying point iterators, distance iterators, and distance functions. This class inherits from TreeNode to leverage common functionalities for tree-based data structures.

Template Parameters
TDimensionThe dimensionality of the space.
TPointTypeThe type representing points in the space.
TContainerTypeThe container type for storing points.
TPointerTypeThe type of pointers or iterators to points in the container (default is inferred from TContainerType).
TIteratorTypeThe type of iterators for traversing the container (default is inferred from TContainerType).
TDistanceIteratorTypeThe type of iterators for storing distance values (default is std::vector<double>::iterator).
TDistanceFunctionThe type of the distance function used for querying (default is Kratos::SearchUtils::SquaredDistanceFunction).
Author
Nelson Lafontaine
Carlos Roig

Member Typedef Documentation

◆ BoundingBoxType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BoundingBoxType = BoundingBox<PointType>

◆ CellContainerType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CellContainerType = std::vector<LocalContainerType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CellType = Tvector<IndexType, Dimension>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::ContainerType = TContainerType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CoordinateArray = Tvector<CoordinateType, Dimension>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CoordinateType = typename TreeNodeType::CoordinateType

◆ CoordinateVectorType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CoordinateVectorType = std::vector<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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::DistanceFunction = TDistanceFunction

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::DistanceIteratorType = TDistanceIteratorType

◆ DistanceIteratorVectorType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::DistanceIteratorVectorType = std::vector<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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IndexArray = Tvector<IndexType, Dimension>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IndexType = typename TreeNodeType::IndexType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorIteratorType = typename TreeNodeType::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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorType = TIteratorType

◆ IteratorVectorType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::IteratorVectorType = std::vector<IteratorType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LeafType = TreeNodeType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LocalContainerType = std::vector<PointerType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::LocalIterator = typename LocalContainerType::iterator

◆ ObjectType

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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::ObjectType = typename GetObjectType<PointType>::type

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointerType = TPointerType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointIterator = LocalIterator

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointType = TPointType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::PointVector = LocalContainerType

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchBoxInRange = Kratos::SearchUtils::SearchBoxInRange<PointType, LocalIterator, SizeType, Dimension, IteratorType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestInRange = Kratos::SearchUtils::SearchNearestInRange<PointType, PointerType, LocalIterator, DistanceFunction, CoordinateType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchRadiusInRange = Kratos::SearchUtils::SearchRadiusInRange<PointType, LocalIterator, DistanceIteratorType, DistanceFunction, SizeType, CoordinateType, IteratorType>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchStructureType = typename TreeNodeType::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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SizeArray = Tvector<SizeType, Dimension>

◆ 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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SizeType = typename TreeNodeType::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>>
using Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::TreeNodeType = TreeNode<Dimension, TPointType, TPointerType, TIteratorType, TDistanceIteratorType>

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

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( )
inline

Default constructor for BinsDynamic.

This constructor initializes an empty BinsDynamic object with null iterators and sets the number of cells to 0.

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
SizeType  BucketSize = 1 
)
inline

Constructor for BinsDynamic with iterators and optional bucket size.

Parameters
PointBeginIterator pointing to the beginning of the point data.
PointEndIterator pointing to the end of the point data.
BucketSizeOptional parameter to specify the bucket size (default is 1).

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
PointType const &  MinPoint,
PointType const &  MaxPoint,
SizeType  BucketSize = 1 
)
inline

Constructor for BinsDynamic with iterators, min point, max point, and optional bucket size.

Parameters
PointBeginIterator pointing to the beginning of the point data.
PointEndIterator pointing to the end of the point data.
MinPointThe minimum point of the bounding box.
MaxPointThe maximum point of the bounding box.
BucketSizeOptional parameter to specify the bucket size (default is 1).

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( PointType const &  MinPoint,
PointType const &  MaxPoint,
SizeType  BucketSize 
)
inline

Constructor for BinsDynamic with min point, max point, and optional bucket size.

Parameters
MinPointThe minimum point of the bounding box.
MaxPointThe maximum point of the bounding box.
BucketSizeOptional parameter to specify the bucket size (default is 1).

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( IteratorType const &  PointBegin,
IteratorType const &  PointEnd,
CoordinateType  BoxSize,
SizeType  BucketSize = 1 
)
inline

Constructor for BinsDynamic with iterators, box size, and optional bucket size.

Parameters
PointBeginIterator pointing to the beginning of the point data.
PointEndIterator pointing to the end of the point data.
BoxSizeThe size of each cell in the bounding box.
BucketSizeOptional parameter to specify the bucket size (default is 1).

◆ ~BinsDynamic()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::~BinsDynamic ( )
inlineoverride

◆ BinsDynamic() [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>>
Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::BinsDynamic ( BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction > const &  rOther)

Copy constructor.

Member Function Documentation

◆ AddPoint()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::AddPoint ( PointerType const &  ThisPoint)
inline

Add a point to the appropriate cell.

This function adds a point to the cell corresponding to its position.

Parameters
ThisPointThe point to be added to the cell.

◆ AllocateCellsContainer()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::AllocateCellsContainer ( )
inline

Allocate memory for the cell container.

This function allocates memory for the cell container based on the computed number of cells in each dimension.

◆ AssignCellSize()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::AssignCellSize ( CoordinateType  BoxSize)
inline

Assign a uniform cell size for all dimensions.

This function sets the cell size for all dimensions to the same value.

Parameters
BoxSizeThe size of each cell in all dimensions.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Begin ( )
inline

Get an iterator pointing to the beginning of the point data.

Returns
An iterator pointing to the beginning of the point data.

◆ CalculateBoundingBox()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateBoundingBox ( )
inline

Calculate the bounding box of the tree node.

This function calculates the bounding box of the tree node based on the points contained within it. The bounding box is represented by the minimum and maximum points in each dimension.

◆ CalculateCell() [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>>
CellType Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateCell ( PointType const &  ThisPoint)
inline

Calculate the cell index of a point.

This function calculates the cell index for a given point in each dimension.

Parameters
ThisPointThe point whose cell index is to be calculated.
Returns
The cell index of the point in each dimension.

◆ CalculateCell() [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>>
CellType Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateCell ( PointType const &  ThisPoint,
CoordinateType  Radius 
)
inline

Calculate the cell index of a point with an added radius.

This function calculates the cell index for a given point with an added radius in each dimension.

Parameters
ThisPointThe point whose cell index is to be calculated.
RadiusThe radius added to each coordinate before calculating the cell index.
Returns
The cell index of the point with the added radius in each dimension.

◆ CalculateCellSize()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateCellSize ( const std::size_t  ApproximatedSize)
inline

Calculates the cell size of the bins.

Calculates the cell size of the bins using an average approximation of the objects in the bins.

Parameters
ApproximatedSizeApproximate number of objects that will be stored in the bins

◆ CalculateIndex() [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>>
IndexType Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateIndex ( CellType const &  ThisIndex)
inline

Calculate the index of a cell within the cell container.

Parameters
ThisIndexThe index of the cell in each dimension.
Returns
The index of the cell within the cell container.

◆ CalculateIndex() [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>>
IndexType Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculateIndex ( PointType const &  ThisPoint)
inline

Calculate the index of a point within the cell container.

Parameters
ThisPointThe point whose index is to be calculated.
Returns
The index of the point within the cell container.

◆ CalculatePosition()

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>>
IndexType Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CalculatePosition ( CoordinateType const &  ThisCoord,
SizeType  ThisDimension 
)
inline

Calculate the position of a coordinate in a specific dimension.

Parameters
ThisCoordThe coordinate whose position is to be calculated.
ThisDimensionThe dimension in which the coordinate is located.
Returns
The position index of the coordinate in the specified dimension.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::CellSize ( SizeType const &  iDim)
inline

Get the size of a cell in a specific dimension.

Parameters
iDimThe dimension for which to retrieve the cell size.
Returns
The size of a cell in the specified dimension.
Deprecated:
This function is deprecated. Use GetCellSize() instead.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::Construct ( IteratorType  PointsBegin,
IteratorType  PointsEnd,
PointType  MaxPoint,
PointType  MinPoint,
SizeType  BucketSize 
)
inlinestatic

Bins Access Vector ( vector<Iterator> )

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::End ( )
inline

Get an iterator pointing to the end of the point data.

Returns
An iterator pointing to the end of the point data.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::ExistPoint ( PointerType const &  ThisPoint,
CoordinateType const  Tolerance = static_cast<CoordinateType>(10.0*DBL_EPSILON) 
)
inline

◆ GenerateBins()

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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GenerateBins ( )
inline

Generate bins by assigning points to cells.

This function assigns points to cells based on their positions and populates the cell container with the points.

◆ GetBoundingBox()

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>>
BoundingBox<PointType>& Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetBoundingBox ( )
inline

Get the bounding box.

This function creates a bounding box using the low and high points and returns it.

Returns
The bounding box.

◆ GetCellContainer()

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>>
CellContainerType& Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetCellContainer ( )
inline

Get the Cell Container object.

Returns
CellContainerType& The Cell Container object

◆ 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetMaxPoint ( )
inline

Get a reference to the high point of the bounding box.

Returns
A reference to the high point of the bounding box.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::GetMinPoint ( )
inline

Get a reference to the low point of the bounding box.

Returns
A reference to the low point of the bounding box.

◆ 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::BinsDynamic< 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::KRATOS_CLASS_POINTER_DEFINITION ( BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >  )

Pointer definition of BinsDynamic.

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::NumCell ( SizeType const &  iDim)
inline

Get the number of cells in a specific dimension.

Parameters
iDimThe dimension for which to retrieve the number of cells.
Returns
The number of cells in the specified dimension.
Deprecated:
This function is deprecated. Use GetNumCells() instead.

◆ 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>>
BinsDynamic& Kratos::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::operator= ( BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchInRadius ( PointerType const &  ThisPoints,
SizeType const &  NumberOfPoints,
CoordinateVectorType const &  Radius,
IteratorVectorType  Results,
DistanceIteratorVectorType  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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< 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

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType *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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint)
inline

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
CoordinateType ResultDistance 
)
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::BinsDynamic< 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::BinsDynamic< 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPoint ( PointType const &  ThisPoint,
PointerType rResult,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inlineoverride

◆ 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::BinsDynamic< TDimension, TPointType, TContainerType, TPointerType, TIteratorType, TDistanceIteratorType, TDistanceFunction >::SearchNearestPointLocal ( PointType const &  ThisPoint,
PointerType rResult,
CoordinateType rResultDistance,
SearchStructureType Box 
)
inline

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