MATLAB Answers

Does it exist an already developed module on matlab that returns a parallel circle-arc to another given circle-arc ?

1 view (last 30 days)
I would like to return the parallel circle-arc to a given circle-arc, displaced by a distance "e". I found packages that allow for example plot circle -arcs, like geom2d.rar. I'm looking for a similar package.

Accepted Answer

Image Analyst
Image Analyst on 3 Apr 2015
Code for drawing an arc is given in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_create_an_arc.3F It should be easy to adapt since you already have "a given circle-arc" - just increase the radius from the given radius.
  5 Comments
Image Analyst
Image Analyst on 5 Apr 2015
Simply draw it again the same way you drew the first one, but with shifted xc,yc:
xc = xc + deltaX;
yc = yc + deltaY;
% Now call the drawing routine again with the new xc,yc.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!