INMOST
A toolkit for distributed mathematical modeling
|
This structure is a helper structure to aid with search of cells by position. More...
#include <inmost_mesh.h>
Public Member Functions | |
SearchKDTree (Mesh *m) | |
SearchKDTree (Mesh *m, HandleType *_set, unsigned set_size) | |
Cell | SearchCell (const Storage::real *point) const |
Cell | SearchCellPrint (const Storage::real *point, std::ostream &sout=std::cout) const |
void | IntersectSphere (ElementArray< Cell > &cells, const Storage::real p[3], Storage::real r) const |
void | IntersectSphere (ElementArray< Face > &faces, const Storage::real p[3], Storage::real r) const |
void | IntersectSegment (ElementArray< Cell > &cells, const Storage::real p1[3], const Storage::real p2[3]) const |
void | IntersectSegment (ElementArray< Face > &faces, const Storage::real p1[3], const Storage::real p2[3]) const |
void | IntersectSegmentPrint (ElementArray< Face > &faces, const Storage::real p1[3], const Storage::real p2[3], std::ostream &sout) const |
Static Public Member Functions | |
static bool | cell_point (const Cell &c, const Storage::real p[3]) |
static bool | cell_point_print (const Cell &c, const Storage::real p[3], std::ostream &sout) |
template<typename bbox_type > | |
static int | bbox_point (const Storage::real p[3], const bbox_type bbox[6]) |
template<typename bbox_type > | |
static int | bbox_point_print (const Storage::real p[3], const bbox_type bbox[6], std::ostream &sout=std::cout) |
template<typename bbox_type > | |
static void | bbox_closest_point (const Storage::real p[3], const bbox_type bbox[6], Storage::real pout[3]) |
template<typename bbox_type > | |
static int | bbox_sphere (const Storage::real p[3], Storage::real r, const bbox_type bbox[6]) |
static Storage::real | segment_distance (const Storage::real x1[3], const Storage::real x2[3], const Storage::real p[3]) |
static Storage::real | triangle_distance (const Storage::real x1[3], const Storage::real x2[3], const Storage::real x3[3], const Storage::real p[3]) |
This structure is a helper structure to aid with search of cells by position.
Currently the structure is very specific to the step of mesh modification, as it performs search over old elements of the mesh.
Definition at line 3652 of file inmost_mesh.h.