Workspace 6.21.5
Public Member Functions | List of all members
ProximityNodes Class Reference

Class for storing and manipulating a list of ShellElement objects.

#include <Mesh/DataStructures/proximitynodes.h>

Public Member Functions

 ProximityNodes (NodeList &nodeList, const Vector3d &minBox, const Vector3d &maxBox, double spacing, double proximityTol)
 
 ~ProximityNodes ()
 
void MakeUnique (std::vector< Node * > &nodes)
 
NodeNodeAt (const Vector3d &v)
 

Constructor & Destructor Documentation

◆ ProximityNodes()

ProximityNodes ( NodeList nodeList,
const Vector3d minBox,
const Vector3d maxBox,
double  spacing,
double  proximityTol 
)

◆ ~ProximityNodes()

Member Function Documentation

◆ MakeUnique()

void MakeUnique ( std::vector< Node * > &  nodes)

Ensures that all the nodes in nodes are unique, ie there are no duplicates in nodes. If duplicates are encountered, new nodes are created as necessary until no more duplicates exist.

◆ NodeAt()

Node & NodeAt ( const Vector3d v)
Returns
A node deemed to be within tolerance of the point v. The tolerance is set in the constructor and cannot be changed thereafter.