View source: R/BoneDensityFunctions.R
fill_bone_points | R Documentation |
Fills bone with orthogonally spaced points for internal analysis
fill_bone_points(surface_mesh, spacing)
surface_mesh |
Mesh object |
spacing |
Numeric |
Matrix with internal point coordinates
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")
surface_mesh <- import_mesh(bone_filepath)
internal_fill <- fill_bone_points(surface_mesh, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.