Definition of the approximation error for contour display.
set_line_approx defines the approximation error for region contour display in the active window. Approximation values greater than zero cause a polygon approximation = smoothing (with a maximum polygon/contour deviation of Approximation pixel). The approximation algorithm is the same as in fetch_polygon. set_line_approx is important for contour output via set_line_style.
Approximation (input_control) |
integer -> integer |
maximum deviation from the original contour. | |
Default value: 0 | |
Range of values: 0 <= Approximation | |
Restriction: Approximation >= 0 |
/* Calling */ set_line_approx(::Approximation:) > set_draw(::'margin':) > disp_region(Obj:::). /* correspond with */ fetch_polygon(Obj::Approximation:Row,Col) > disp_polygon(::Row,Col:).
set_line_approx returns TRUE, if the parameter is correct and a window is active. Otherwise an exception is raised.
get_line_approx, set_line_style, set_draw, disp_region