49#define VEC_DOT_43(x,y) ((x)[X_43]*(y)[X_43] + (x)[Y_43]*(y)[Y_43] + (x)[Z_43]*(y)[Z_43])
87 for (q = 0; q < nneigh; q++)
116 if (cos_theta < -1.0)
118 else if (cos_theta > 1.0)
120 dev_nn += acos(cos_theta);
MNETriangle class declaration.
MNE Patch Information (MNEPatchInfo) class declaration.
MNESourceSpace class declaration.
Core MNE data structures (source spaces, source estimates, hemispheres).
void calculate_area(MNESourceSpace *s)
void calculate_normal_stats(MNESourceSpace *s)
Eigen::VectorXi memb_vert
This defines a source space.
std::vector< Eigen::VectorXi > neighbor_tri
Eigen::VectorXi nneighbor_tri
std::vector< MNETriangle > tris