|
| 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, DistanceIteratorType > | TreeNodeType |
| |
| typedef TreeNodeType::SizeType | SizeType |
| |
| typedef TreeNodeType::IndexType | IndexType |
| |
| typedef TreeNodeType::CoordinateType | CoordinateType |
| |
| typedef Tvector< CoordinateType, Dimension > | CoordinateArray |
| |
| typedef Tvector< SizeType, Dimension > | SizeArray |
| |
| typedef Tvector< IndexType, Dimension > | IndexArray |
| |
| typedef TreeNodeType::IteratorIteratorType | IteratorIteratorType |
| |
| typedef TreeNodeType::SearchStructureType | SearchStructureType |
| |
| typedef std::vector< PointerType > | LocalContainerType |
| |
| typedef LocalContainerType::iterator | LocalIterator |
| |
| typedef Tvector< IndexType, TDimension > | CellType |
| |
| typedef std::vector< IteratorType > | IteratorVector |
| |
| typedef IteratorVector::iterator | IteratorIterator |
| |
| typedef IteratorVector::const_iterator | IteratorConstIterator |
| |
| typedef Kratos::SearchUtils::SearchNearestInRange< PointType, PointerType, IteratorType, DistanceFunction, CoordinateType > | SearchNearestInRange |
| |
| typedef Kratos::SearchUtils::SearchRadiusInRange< PointType, IteratorType, DistanceIteratorType, DistanceFunction, SizeType, CoordinateType > | SearchRadiusInRange |
| |
| typedef Kratos::SearchUtils::SearchBoxInRange< PointType, IteratorType, SizeType, TDimension > | SearchBoxInRange |
| |
| typedef LocalContainerType | PointVector |
| |
| typedef LocalIterator | PointIterator |
| |
| typedef TreeNodeType | LeafType |
| |
| 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...
|
| |
|
| | 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) |
| |
| SizeArray & | GetDivisions () |
| | Get the Divisions object. More...
|
| |
| CoordinateArray & | GetCellSize () |
| | Get the Cell Size object. More...
|
| |
| PointType & | GetMinPoint () |
| | Get the Min Point object. More...
|
| |
| PointType & | GetMaxPoint () |
| | 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...
|
| |
| Bins & | operator= (Bins const &rOther) |
| | Assignment operator. More...
|
| |
| | Bins (Bins const &rOther) |
| | Copy constructor. More...
|
| |
| | 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) |
| |