geodesic.ballstats: Compute geodesic ball area and perimeter at location defined...

View source: R/geodesic.R

geodesic.ballstatsR Documentation

Compute geodesic ball area and perimeter at location defined by geodists for all radii.

Description

Compute geodesic ball area and perimeter at location defined by geodists for all radii.

Usage

geodesic.ballstats(mesh, geodist, sample_at_radii)

Arguments

mesh

tmesh3d instance

geodist

vector of geodesic distance for current mesh vertex under consideration (no need for the index)

sample_at_radii

double vector, the different ball radii for which to perform the computation

Value

named list with entries: 'ball_area': vector of double, ball area at each sample radius. 'ball_perimeter': vector of double, ball perimeter at each sample radius.

Note

This is called from geodesic.circles, there should be no need to call it directly.


fsbrain documentation built on July 9, 2023, 7:12 p.m.