meshToGraph: construct a graph from a set of vertices and nodes faces.

View source: R/neuro_surface.R

meshToGraphR Documentation

construct a graph from a set of vertices and nodes faces.

Description

construct a graph from a set of vertices and nodes faces.

Usage

meshToGraph(vertices, nodes)

Arguments

vertices

N-by-3 matrix of vertices

nodes

matrix of node faces, where each row is a set of three vertex indices.

Value

an igraph instance representing th mesh connectivity.


bbuchsbaum/neurosurf documentation built on Aug. 29, 2024, 10:53 a.m.