MNETriangle
Namespace: MNELIB · Library: MNE Library
#include <mne/mne_triangle.h>
class MNELIB::MNETriangle
Per-triangle geometric data for a cortical or BEM surface.
Stores vertex indices, edge vectors, normal, area, centroid and auxiliary unit vectors. Vertex pointers (r1/r2/r3) and the index pointer (vert) alias data owned by the parent surface and must not be freed.
Public Methods
MNETriangle()
Constructs an empty MNETriangle with zeroed geometry.
~MNETriangle()
Default destructor (non-owning pointers are not freed).
compute_data()
Compute derived geometry (edge vectors, normal, area, centroid, auxiliary unit vectors) from the current vertex positions.
Authors of this file
- Christoph Dinh <christoph.dinh@mne-cpp.org>