tube_Surface_Mesh {ETRep}R Documentation

Create surface mesh of a tube

Description

Create surface mesh of a tube

Usage

tube_Surface_Mesh(
  tube,
  meshType = "quadrilateral",
  plotMesh = TRUE,
  color = "blue",
  decorate = TRUE
)

Arguments

tube

List containing ETRep details.

meshType

String, either "quadrilateral" or "triangular" definig the type of mesh.

plotMesh

Logical, enables plotting of the mesh (default is TRUE).

color

String, defining the color of the mesh (default is 'blue').

decorate

Logical, enables decorating the plot (default is TRUE).

Value

An object from rgl::mesh3d class

Examples

quad_mesh<-tube_Surface_Mesh(tube = ETRep::tube_B, 
                             meshType = "quadrilateral", 
                             plotMesh = TRUE, 
                             decorate = TRUE, 
                             color = "orange")
tri_mesh<-tube_Surface_Mesh(tube = ETRep::tube_B, 
                            meshType = "triangular", 
                            plotMesh = TRUE, 
                            decorate = TRUE, 
                            color = "green")

[Package ETRep version 1.2.0 Index]