get_line_approx ( : : : Approximation )

Query of the current approximation error for contour display.

get_line_approx returns a parameter that controls the approximation error for region contour display in the active window. It is used by the procedure disp_region. Approximation controls the polygon approximation for contour display ( 0 <=> no approximation). Approximation is only important for displaying the contour of objects, especially if a line style was set with set_line_style.


Parameters

Approximation (output_control)
string -> integer
current approximation error for contour display.


Result

get_line_approx returns TRUE, if a window is active. Otherwise an exception is raised.


Possible Successors

set_line_approx, set_line_style, disp_region


See also

fetch_polygon, set_line_approx, set_line_style, disp_region



Copyright © 1996-1997 MVTec Software GmbH