29 #ifndef KDTreeElements_h 30 #define KDTreeElements_h 32 #include "utility/geom/pos_vec/KDTreePos.h" 49 inline const Element *getElementPtr(
void)
const 52 static inline double tac(
ElemPos p,
size_t k ) {
return p[k]; }
56 {
return ((A.getElementPtr()== B.getElementPtr()) && (A[0] == B[0]) && (A[1] == B[1]) && (A[2] == B[2])); }
65 size_t pend_optimizar;
75 const Element *getNearest(
const Pos3d &pos,
const double &r)
const;
ElemPos(const Element &)
Constructor.
Definition: KDTreeElements.cc:34
Element position for KDTree building.
Definition: KDTreeElements.h:42
Defines the interface for the KDTree class.
Base class for the finite elements.
Definition: Element.h:112
Definition: kdtree.hpp:99
Posición en tres dimensiones.
Definition: Pos3d.h:44
k-d tree for searching the nearest element to a given position.
Definition: KDTreeElements.h:63
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Base class for KDTree positions.
Definition: KDTreePos.h:31