| generate_tube_mesh | R Documentation |
Creates a 3D tube mesh around a centerline path using parallel transport frames for smooth geometry without twisting artifacts.
generate_tube_mesh(centerline, radius = 0.5, segments = 8)
centerline |
Matrix with N rows and 3 columns (x, y, z coordinates) |
radius |
Tube radius. Either a single value or vector of length N. |
segments |
Number of segments around tube circumference. |
List with vertices (data.frame), faces (data.frame), and metadata
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.