libatomprobe
Library for Atom Probe Tomography (APT) computation
Public Member Functions | Public Attributes | List of all members
AtomProbe::TriangleWithVertexNorm Class Reference

#include <isoSurface.h>

Collaboration diagram for AtomProbe::TriangleWithVertexNorm:
Collaboration graph
[legend]

Public Member Functions

Point3D getPoint (unsigned int pos) const
 Convenience function for python. More...
 
void getCentroid (Point3D &p) const
 
void computeACWNormal (Point3D &p) const
 
void safeComputeACWNormal (Point3D &p) const
 
float computeArea () const
 
bool isDegenerate () const
 

Public Attributes

Point3D p [3]
 
Point3D normal [3]
 

Detailed Description

Definition at line 27 of file isoSurface.h.

Member Function Documentation

◆ computeACWNormal()

void AtomProbe::TriangleWithVertexNorm::computeACWNormal ( Point3D p) const

Definition at line 89 of file isoSurface.cpp.

References AtomProbe::Point3D::crossProd(), AtomProbe::Point3D::normalise(), and p.

Referenced by getPoint().

Here is the call graph for this function:

◆ computeArea()

float AtomProbe::TriangleWithVertexNorm::computeArea ( ) const

Definition at line 117 of file isoSurface.cpp.

References AtomProbe::Point3D::crossProd(), p, and AtomProbe::Point3D::sqrMag().

Referenced by getPoint().

Here is the call graph for this function:

◆ getCentroid()

void AtomProbe::TriangleWithVertexNorm::getCentroid ( Point3D p) const

Definition at line 135 of file isoSurface.cpp.

References p.

Referenced by getPoint().

◆ getPoint()

Point3D AtomProbe::TriangleWithVertexNorm::getPoint ( unsigned int  pos) const
inline

Convenience function for python.

Definition at line 34 of file isoSurface.h.

References computeACWNormal(), computeArea(), getCentroid(), isDegenerate(), and safeComputeACWNormal().

Here is the call graph for this function:

◆ isDegenerate()

bool AtomProbe::TriangleWithVertexNorm::isDegenerate ( ) const

Definition at line 128 of file isoSurface.cpp.

References p.

Referenced by getPoint(), and AtomProbe::marchingCubes().

◆ safeComputeACWNormal()

void AtomProbe::TriangleWithVertexNorm::safeComputeACWNormal ( Point3D p) const

Definition at line 100 of file isoSurface.cpp.

References AtomProbe::Point3D::crossProd(), AtomProbe::Point3D::normalise(), p, and AtomProbe::Point3D::sqrMag().

Referenced by getPoint(), and AtomProbe::marchingCubes().

Here is the call graph for this function:

Member Data Documentation

◆ normal

Point3D AtomProbe::TriangleWithVertexNorm::normal[3]

Definition at line 31 of file isoSurface.h.

Referenced by AtomProbe::marchingCubes().

◆ p

Point3D AtomProbe::TriangleWithVertexNorm::p[3]

The documentation for this class was generated from the following files: