You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
The Bresenham line algorithm is an algorithm that determines which points in a 3-dimensional raster should be plotted in order to form a close approximation to a straight line between two given points in 3D space.
The common conventions that pixel coordinates increase in the down and right directions and that pixel centers have integer coordinates will be used. The endpoints of the line are the pixels at (x0, y0, z0) and (x1, y1,z1), where the first coordinate of the pair is the column, the second is the row and the third is the slice.
Cite As
Jean Chaoui (2026). Bresenham's 3D Line algorithm (https://www.mathworks.com/matlabcentral/fileexchange/17658-bresenham-s-3d-line-algorithm), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (1.66 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
