circularArc3d

Computes a circular arc that passes through points in 3D space with a prescribed tangent vector.
56 Downloads
Aktualisiert 8. Mai 2017

Lizenz anzeigen

% [circFun, rad, C, n] = circularArc3d(A,B,T)
%
% Construct a circle in 3D space that passes through points A and B and is
% tangent to T at point A.
%
% INPUTS:
% A = starting point
% B = ending point
% T = tangent vector at A
%
% OUTPUTS:
% circFun = @(t) = interpolates from A to B as t goes from 0 to 1
% rad = radius of the circular arc
% C = center of the circular arc
% n = unit normal to the plane that the circle lies in
%
% NOTES:
% If run without arguments, then this function will automatically
% call a test routine that visualizes the result of random data sets.
%

Zitieren als

Matthew Kelly (2024). circularArc3d (https://www.mathworks.com/matlabcentral/fileexchange/62839-circulararc3d), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2012a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Biomedical Imaging finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0