movingTrihedron

The function computes the 'moving trihedron' in terms of the unit tangent, normal and binormal.

Ahora está siguiendo esta publicación

Given a curve in 'd' spatial coordinates, the function computes the associated 'moving trihedron' in terms of the unit tangent, -normal and -binormal at each point of the curve 'x'. The function returns the frame ['t', 'p','b'], corresponding to the tangent, normal and binormal, respectively.

To check that it works, compute e.g.

N = 100; nwinds = 2;
theta = linspace(0,nwinds*2*pi,N)';
L = theta/nwinds;

x = [cos(theta), sin(theta), L];

[t,p,b] = movingTrihedron(x);
refinement_factor = 10;

plot3(x(:,1),x(:,2),x(:,3),'k-')
hold on
quiver3(x(1:10:end,1),x(1:10:end,2),x(1:10:end,3),t(1:10:end,1),t(1:10:end,2),t(1:10:end,3))
quiver3(x(1:10:end,1),x(1:10:end,2),x(1:10:end,3),p(1:10:end,1),p(1:10:end,2),p(1:10:end,3))
quiver3(x(1:10:end,1),x(1:10:end,2),x(1:10:end,3),b(1:10:end,1),b(1:10:end,2),b(1:10:end,3))

Citar como

André Flakke (2026). movingTrihedron (https://la.mathworks.com/matlabcentral/fileexchange/74457-movingtrihedron), MATLAB Central File Exchange. Recuperado .

Etiquetas

Añadir etiquetas

Add the first tag.

Información general

Compatibilidad con la versión de MATLAB

  • Compatible con cualquier versión

Compatibilidad con las plataformas

  • Windows
  • macOS
  • Linux
Versión Publicado Notas de la versión Action
1.0.1

Added image for example script and editet sample script as described in the description.

1.0.0