libatomprobe
Library for Atom Probe Tomography (APT) computation
Namespaces | Enumerations | Functions | Variables
mesh.cpp File Reference
#include <atomprobe/primitives/mesh.h>
#include <atomprobe/helper/aptAssert.h>
#include <helper/helpFuncs.h>
#include "atomprobe/helper/maths/misc.h"
#include <string>
#include <algorithm>
#include <limits>
#include <list>
#include <utility>
#include <deque>
Include dependency graph for mesh.cpp:

Go to the source code of this file.

Namespaces

 AtomProbe
 

Enumerations

enum  {
  AtomProbe::MESH_LOAD_UNSPECIFIED_ERROR =1, AtomProbe::MESH_LOAD_BAD_NODECOUNT, AtomProbe::MESH_LOAD_BAD_ELEMENTCOUNT, AtomProbe::MESH_LOAD_IS_INSANE,
  AtomProbe::MESH_LOAD_ENUM_END
}
 

Functions

bool AtomProbe::antiRotateMatch (const unsigned int *a, const unsigned int *b, size_t n)
 
bool AtomProbe::rotateMatch (const unsigned int *a, const unsigned int *b, size_t n, bool directionForwards=true)
 
float AtomProbe::signVal (unsigned int val)
 
size_t AtomProbe::findMaxLessThanOrEq (const vector< std::pair< size_t, size_t > > &v, size_t value)
 
float AtomProbe::Determinant (float **a, int n)
 
float AtomProbe::fourDeterminant (const Point3D &a, const Point3D &b, const Point3D &c, const Point3D &d)
 
unsigned int AtomProbe::edgeIdx (unsigned int i, unsigned int j)
 
int AtomProbe::intersect_RayTriangle (const Point3D &rayStart, const Point3D &rayEnd, Point3D *tri, Point3D &I)
 
void AtomProbe::findNearVerticies (float tolerance, const vector< Point3D > &ptVec, vector< std::pair< size_t, vector< size_t > > > &clusterList)
 
void AtomProbe::findNearVerticies (float tolerance, const vector< Point3D > &ptVec, std::list< std::pair< size_t, vector< size_t > > > &clusterList)
 

Variables

const size_t AtomProbe::PROGRESS_REDUCE =500