matlab-arc-generator
%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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.1 | minor description updates |
|
|
1.0.0 |
|