findInterior: Find the interior profile of a vessel

Description Usage Arguments Value

View source: R/capacities.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
findInterior(x, rimoffset = 0, left = TRUE)

Arguments

x

A vector of numeric values specifying the approximate start dates for the production of each artefact.

rimoffset

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

left

Logical whether the input and output are the left-hand or right-hand profiles.

Value

An object of class SpatialPolygons showing the interior left or right hand cavity of a vessel.

#' @examples data(dolium) realheight <- 0.72 plot(dolium, col="grey", border=NA, axes=TRUE) doliumint1 <- findInterior(dolium, rimoffset=realheight/10) plot(doliumint1, border="red", add=TRUE)


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