Calculate surface area of a "surf"
object by vertex or face. Surface
area calculation by vertex matches the Workbench command
"-surface-vertex-areas".
surf_area(surf, by = c("vertex", "face"))
Vector of surface areas by
vertex or face, in the same order
as how the vertices or faces are listed in surf
. The units are the
square of the units of surf$vertices
.
The "surf"
object.
"vertex"
or "face"
. For "vertex"
, the result
is the area associated with each vertex: the sum the area of each triangular
face it is a part of, divided by three. For "face"
, the result is
the surface area of each face.
Other surface-related:
add_surf()
,
boundary_mask_surf()
,
edit_mask_surf()
,
even_vert_samp()
,
is.surf()
,
load_surf()
,
mask_surf()
,
read_surf()
,
resample_surf()
,
rotate_surf()
,
view_surf()
,
write_surf_gifti()