Line clipping

Line clipping by Cyrus Beck algorithm
1.2K Downloads
Updated 18 Feb 2010

View License

Clips a line inside a view port according to Cyrus beck algorithm.

Cite As

Chandan Kumar (2024). Line clipping (https://www.mathworks.com/matlabcentral/fileexchange/25528-line-clipping), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.1.0.0

Value of parameter "t" has been updated in line 18 and 19. I believe it was reverse in the order which earlier lead to the wrong results.

1.0.0.0