Learn R Programming

BoneDensityMapping (version 0.1.4)

import_mesh: import surface mesh

Description

import surface mesh

Usage

import_mesh(surface_mesh_filepath)

Value

mesh object

Arguments

surface_mesh_filepath

String. File path to bone models. .stl or .ply

Author

Scott Telfer scott.telfer@gmail.com

Examples

Run this code
# \donttest{
  # Download bone model
  url <- "https://github.com/Telfer/BoneDensityMapping/releases/download/v1.0.2/test_CT_femur.stl"
  bone_filepath <- tempfile(fileext = ".stl")
  download.file(url, bone_filepath, mode = "wb")
  import_mesh(bone_filepath)
# }

Run the code above in your browser using DataLab