Simple program to generate the inner and outer parallel curves in rectangular coordinates. inner parallel is toward the center of curvature and outer parallel is away from the center of curvature. Use option flag1=0 to keep the parallels on the side sides (disregarding concavity). The Input the x, y coordinate pairs and distance between the curve and the parallels and the option to make a plot.
Parallel curves are related to the involute, evolute, and envelope. Program can easily be modified to generate the evolute by replacing d with R in lines 254-270.
Edward Zechmann (2022). Parallel Curves (https://www.mathworks.com/matlabcentral/fileexchange/27873-parallel-curves), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!