construct neighborhood graph from surface mesh using edge weights.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | neighbor_graph(x, radius, edgeWeights, nodes, ...)
## S4 method for signature 'igraph,numeric,missing,missing'
neighbor_graph(x, radius,
distance_type = c("geodesic", "euclidean", "spherical"))
## S4 method for signature 'SurfaceGeometry,numeric,missing,missing'
neighbor_graph(x,
radius, distance_type = c("geodesic", "euclidean", "spherical"))
## S4 method for signature 'SurfaceGeometry,numeric,numeric,missing'
neighbor_graph(x,
radius, edgeWeights, distance_type = c("geodesic", "euclidean",
"spherical"))
## S4 method for signature 'SurfaceGeometry,numeric,numeric,integer'
neighbor_graph(x,
radius, edgeWeights, nodes, distance_type = c("geodesic", "euclidean",
"spherical"))
## S4 method for signature 'SurfaceGeometry,numeric,missing,integer'
neighbor_graph(x,
radius, nodes, distance_type = c("geodesic", "euclidean", "spherical"))
|
x |
surface mesh |
radius |
the edge radius defining the neighborhood |
edgeWeights |
vector of edgeWeights used to define edge distance. |
nodes |
the subset of nodes to use |
... |
extra arguments |
distance_type |
the distance function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.