ext.int.mesh {Arothron}R Documentation

ext.int.mesh

Description

This function finds the vertices visible from a set of points of view

Usage

ext.int.mesh(
  mesh,
  views = 20,
  dist.sphere = 3,
  param1 = 2.5,
  param2 = 10,
  default = TRUE,
  import_pov,
  matrix_pov,
  expand = 1,
  scale.factor,
  method = "ast3d",
  start.points = 250,
  num.cores = NULL
)

Arguments

mesh

object of class mesh3d

views

numeric: number of points of view

dist.sphere

numeric: scale factor. This parameter the distance betweem the barycenter of the mesh and the radius of the sphere used to define set of points of view

param1

numeric: first parameter for spherical flipping (usually ranged from 0.5 to 5, try!)

param2

numeric second paramter for spherical flipping (don't change it!)

default

logical: if TRUE the points of views are defined automatically, if FALSE define the matrix_pov

import_pov

logical: if NULL an interactive 3D plot for the definition of the points of view is returned

matrix_pov

matrix: external set of points of view

expand

numeric: scale factor for the grid for the interactive 3D plot

scale.factor

numeric: scale factor for sphere inscribed into the mesh

method

character: select "a" or "c"

start.points

numeric: number of POVs available

num.cores

numeric: number of cores

Value

position numeric: a vector with vertex number nearest the landmark set

Author(s)

Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano

References

Profico, A., Schlager, S., Valoriani, V., Buzi, C., Melchionna, M., Veneziano, A., ... & Manzi, G. (2018). Reproducing the internal and external anatomy of fossil bones: Two new automatic digital tools. American Journal of Physical Anthropology, 166(4), 979-986.


[Package Arothron version 2.0.5 Index]