mesh_snapshot: Save a snapshot of a 3D soil mesh

Description Usage Arguments Value

View source: R/mesh_snapshot.R

Description

Optional aspect ratio and extra components.

Usage

1
2
3
4
5
6
7
8
mesh_snapshot(
  mesh,
  outfile,
  wire = TRUE,
  axes = FALSE,
  aspect_ratio = "16x9",
  overwrite = FALSE
)

Arguments

mesh

"mesh3d" object

outfile

path to save the snapshot (png format). This will be automatically appended to include the aspect ratio.

wire

whether to render mesh edges as a wire frame

axes

whether to also plot x, y, and z axes

aspect_ratio

either "16x9" (for widescreen presentation) or "4x3"

overwrite

whether to force over-write existing files of same names

Value

writes file to disk


evanmascitti/soilmesh documentation built on Sept. 30, 2021, 7:57 a.m.