bff_vis_metrics: Visualise the result of flattening a 3d mesh.

Description Usage Arguments Value Examples

View source: R/vis.R

Description

Visualise the result of flattening a 3d mesh.

Usage

1
2
3
4
5
bff_vis_metrics(
  x,
  metric = c("area distortion", "vertice density", "curvature", "mesh"),
  ...
)

Arguments

x

A bff_flattened or bff_sphered object

metric

Which metric to display. One of "area distortion", "vertice density", "curvature", or "mesh"

...

Additional arguments passed on to the drawing functions (shade3d() or wire3d())

Value

None.

Examples

1
2
3
4
5
data(face)
## don't run the next line if you want to see the visualisation
options(rgl.useNULL = TRUE)
face_flat <- bff_flatten(face)
bff_vis_metrics(face_flat)

rdinnager/rbff documentation built on Jan. 21, 2022, 2:08 p.m.