vc_plot_osculating_ribbon: Display a stored osculating ribbon

View source: R/osculating_geometry.R

vc_plot_osculating_ribbonR Documentation

Display a stored osculating ribbon

Description

Display a stored osculating ribbon

Usage

vc_plot_osculating_ribbon(
  result,
  opacity = 0.4,
  show_centers = TRUE,
  title = NULL
)

Arguments

result

Result of vc_osculating_ribbon().

opacity

Ribbon opacity between zero and one.

show_centers

Logical flag to display the sampled centers of curvature.

title

Optional character title.

Value

Plotly widget with the stored curve and available ribbon sections. Surface gaps remain open and isolated sections are shown as line segments.

Examples

if (requireNamespace("plotly",quietly=TRUE)) {
  curve <- function(t)c(cos(t),sin(t),t/2)
  vc_plot_osculating_ribbon(vc_osculating_ribbon(curve,c(0,pi),n=19))
}

vectorialcalculus documentation built on Nov. 17, 2026, 1:09 a.m.