fill_bone_points: Fills bone with orthogonally spaced points for internal...

View source: R/BoneDensityFunctions.R

fill_bone_pointsR Documentation

Fills bone with orthogonally spaced points for internal analysis

Description

Fills bone with orthogonally spaced points for internal analysis

Usage

fill_bone_points(surface_mesh, spacing)

Arguments

surface_mesh

Mesh object

spacing

Numeric

Value

Matrix with internal point coordinates

Examples


  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)


BoneDensityMapping documentation built on Aug. 8, 2025, 6:46 p.m.