plot3dSR: Find the interior profile of a vessel

Description Usage Arguments Examples

View source: R/plots.R

Description

Given a drawn outline of a vessel, find the interior profil only and create a new polygon around the left or right half of the interior cavity.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
plot3dSR(
  x,
  rimoffset = 0,
  left = TRUE,
  interior = TRUE,
  col.interior = "red",
  col.exterior = "darkgoldenrod3",
  windowRect = c(20, 30, 800, 800),
  userMatrix = rotationMatrix(180/pi * 50, 1, 1, 0),
  ...
)

Arguments

x

An object of class SpatialPolygons* delineating the profile of a vessel.

rimoffset

A single numeric value specifying how much (in the input units) to go down from the top of the vessel rim before creating the internal shape. Default is 0.

left

Is it the left or the right-hand side profile.

interior

Logical for whether to plot the interior cavity as well.

col.interior

Colour of the interior

col.exterior

Colour of the exterior

...

passed to par3d().

Examples

1
2
3
4
5
## Not run: 
data(dolium)
plot3dSR(dolium)

## End(Not run)

ahb108/rtefact documentation built on Jan. 27, 2021, 10:47 a.m.