line_discrete_algorithm.hpp File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  cpe
 Namespace for CPE classes.
 

Functions

line_discrete cpe::compute_line (const pos2 &u0, const pos2 &u1)
 Compute a line_discrete between any positions (u0,u1) More...
 
line_discrete cpe::compute_line_vertical (int x, int y_min, int y_max)
 Compute a horizontal line at constant x between (y_min,y_max). More...
 
line_discrete cpe::compute_line_horizontal (int x_min, int x_max, int y)
 Compute a horizontal line at constant y between (x_min,x_max). More...
 
line_discrete cpe::compute_bresenham (int x0, int y0, int x1, int y1)
 Compute bresenham algorithm in the first quadrant. More...
 
line_discrete cpe::compute_line_diagonal (int x0, int y0, int x1, int y1)
 Compute diagonal line. More...