#include <point_locater.hpp>
|
| | Point_search (Tree &_tree, Boxes &_boxes) |
| |
| | Point_search (Self &s) |
| |
| template<typename Point_map , typename Entities , typename Communicator > |
| Error | locate_points (Point_map &query_points, Entities &entities, Communicator &comm, double tol) |
| |
| template<typename Points , typename Entities > |
| Error | locate_points (const Points &query_points, Entities &entities, double tol) const |
| |
| template<typename Points , typename Entities > |
| Error | bruteforce_locate_points (const Points &query_points, Entities &entities, double tol) const |
| |
| Tree & | tree () const |
| |
|
| template<typename Point_map , typename List > |
| void | resolve_boxes (const Point_map &query_points, List &list) |
| |
template<typename _Tree, typename _Boxes>
class moab::Point_search< _Tree, _Boxes >
Definition at line 20 of file point_locater.hpp.
◆ Boxes
template<typename _Tree , typename _Boxes >
◆ Error
template<typename _Tree , typename _Boxes >
◆ Self
template<typename _Tree , typename _Boxes >
◆ Tree
template<typename _Tree , typename _Boxes >
◆ Point_search() [1/2]
template<typename _Tree , typename _Boxes >
◆ Point_search() [2/2]
template<typename _Tree , typename _Boxes >
◆ bruteforce_locate_points()
template<typename _Tree , typename _Boxes >
template<typename Points , typename Entities >
Definition at line 119 of file point_locater.hpp.
123 typedef typename Points::const_iterator Point_iterator;
124 typedef typename Entities::value_type::first_type Entity_handle;
126 result.reserve( query_points.size() );
127 std::size_t count = 0;
128 std::stringstream ss;
129 typename Entities::iterator j = entities.begin();
130 for( Point_iterator i = query_points.begin(); i != query_points.end(); ++i, ++j )
134 const Entity_handle h =
tree_.bruteforce_find( *i, tol );
138 for(
int k = 0; k < 3; ++k )
153 std::ofstream out(
"unlocated_pts" );
156 std::cout << count <<
" vertices are not contained in _any_ elements!" << std::endl;
References moab::Point_search< _Tree, _Boxes >::tree_.
◆ locate_points() [1/2]
template<typename _Tree , typename _Boxes >
template<typename Points , typename Entities >
Definition at line 102 of file point_locater.hpp.
104 typedef typename Points::const_iterator Point_iterator;
105 typedef typename Entities::value_type Result;
107 result.reserve( query_points.size() );
108 for( Point_iterator i = query_points.begin(); i != query_points.end(); ++i )
111 tree_.find( *i, tol, h );
112 result.push_back( h );
References moab::Point_search< _Tree, _Boxes >::tree_.
◆ locate_points() [2/2]
template<typename _Tree , typename _Boxes >
template<typename Point_map , typename Entities , typename Communicator >
| Error moab::Point_search< _Tree, _Boxes >::locate_points |
( |
Point_map & |
query_points, |
|
|
Entities & |
entities, |
|
|
Communicator & |
comm, |
|
|
double |
tol |
|
) |
| |
|
inline |
◆ resolve_boxes()
template<typename _Tree , typename _Boxes >
template<typename Point_map , typename List >
| void moab::Point_search< _Tree, _Boxes >::resolve_boxes |
( |
const Point_map & |
query_points, |
|
|
List & |
list |
|
) |
| |
|
inlineprivate |
◆ tree()
template<typename _Tree , typename _Boxes >
◆ boxes
template<typename _Tree , typename _Boxes >
◆ tree_
template<typename _Tree , typename _Boxes >
The documentation for this class was generated from the following file: