32 #include "utility/geom/pos_vec/KDTreePos.h" 49 inline const Node *getNodePtr(
void)
const 51 static inline double tac(
NodePos p,
size_t k ) {
return p[k]; }
55 {
return ((A.getNodePtr()== B.getNodePtr()) && (A[0] == B[0]) && (A[1] == B[1]) && (A[2] == B[2])); }
64 size_t pend_optimizar;
69 void insert(
const Node &);
70 void erase(
const Node &);
73 const Node *getNearest(
const Pos3d &pos)
const;
74 const Node *getNearest(
const Pos3d &pos,
const double &r)
const;
Defines the interface for the KDTree class.
NodePos(const Node &)
Constructor.
Definition: KDTreeNodes.cc:34
Definition: kdtree.hpp:99
Posición en tres dimensiones.
Definition: Pos3d.h:44
Node position for its use in the KDTree.
Definition: KDTreeNodes.h:42
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Mesh node.
Definition: Node.h:111
Base class for KDTree positions.
Definition: KDTreePos.h:31
k-d tree for searching the nearest node to a given position.
Definition: KDTreeNodes.h:62