3D arc passing through 3 points

Versión 1.0.2 (1,84 KB) por Max
Compute the center, radii, angle and the reference frame of the arc passing through 3 points
79 Descargas
Actualizado 12 nov 2023

Ver licencia

Compute the center, radii, angle and the reference frame of the arc passing through 3 points
Input:
  • p1, p2, p3: row 3-vectors representing 3d space points, the arc starts at p1 goes trough p2 and finishes at p3
Output:
  • r: calculated radii
  • p: raw 3-vector representing the center of the arc
  • al3: the final angle of the arc
  • X, Y: row unit 3-vectors representing the reference frame of the plane where the arc lies, X vector is pointing to the p1 so the starting angle is always 0
Examples:
Plot random arc:
  • arc3(rand(1, 3), rand(1, 3), rand(1, 3));
Calculate without plotting:
  • [r, p, al, X, Y] = arc3(rand(1, 3), rand(1, 3), rand(1, 3));

Citar como

Max (2026). 3D arc passing through 3 points (https://la.mathworks.com/matlabcentral/fileexchange/123050-3d-arc-passing-through-3-points), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2022b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Versión Publicado Notas de la versión
1.0.2

Reference to the original article fixed

1.0.1

Reference to the original article fixed

1.0.0