v2.0.0
Loading...
Searching...
No Matches
mne_triangle.h File Reference

Triangle descriptor with cached centroid, area and normal vectors. More...

#include "mne_global.h"
#include <Eigen/Core>
#include <QSharedPointer>
Include dependency graph for mne_triangle.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MNELIB::MNETriangle
 Per-triangle geometric data for a cortical or BEM surface. More...

Namespaces

namespace  MNELIB
 Core MNE data structures (source spaces, source estimates, hemispheres).

Detailed Description

Triangle descriptor with cached centroid, area and normal vectors.

SPDX-License-Identifier: BSD-3-Clause Copyright (c) 2026 MNE-CPP Authors

Author
Christoph Dinh chris.nosp@m.toph.nosp@m..dinh.nosp@m.@mne.nosp@m.-cpp..nosp@m.org
Since
2.0.0
Date
March 2026

MNELIB::MNETriangle is the per-face record produced by MNESourceSpace and MNEBemSurface readers so downstream code (forward solver, projection-to-surface, rendering) does not have to recompute these quantities. Carries the three vertex indices, the centroid, the un-normalised and normalised triangle normals and the area.

Definition in file mne_triangle.h.