matlab-arc-generator

MATLAB function for generating points for an arc in 3D space
90 Downloads
Updated 5 Oct 2018

%getarc: returns 2D points for an arc in (optionally) 3D space with specific orientation

% Input Parameters:
% r - radius of desired arc
% as - 1x2 vector containing start and ending angles (radians) for the arc
% c - 1x3 vector containing the center for the arc in [x,y,z] format (can also be 1x2 [x,y])
% axis_3D is the desired vector perpendicular to the surface of the circle
% in 3D space that determines the 3D orientation of the arc

%Output:
% arc_points - 3x101 array of arc points in 3D space in the format [x;y;z]

% Author: Batool Abbas
% Email: batool.abbas@nyu.edu
% Last revision: Oct, 2018

Cite As

Batool Abbas (2024). matlab-arc-generator (https://github.com/batoolabbas/matlab-arc-generator), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2018b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.1

minor description updates

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.