get_line_approxT_get_line_approxGetLineApproxGetLineApprox (Operator)

Name

get_line_approxT_get_line_approxGetLineApproxGetLineApprox — Get the current approximation error for contour display.

Warning

get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApprox is obsolete and is only provided for reasons of backward compatibility.

Signature

get_line_approx( : : WindowHandle : Approximation)

Herror T_get_line_approx(const Htuple WindowHandle, Htuple* Approximation)

void GetLineApprox(const HTuple& WindowHandle, HTuple* Approximation)

Hlong HWindow::GetLineApprox() const

static void HOperatorSet.GetLineApprox(HTuple windowHandle, out HTuple approximation)

int HWindow.GetLineApprox()

Description

get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApprox returns a parameter that controls the approximation error for region contour display in the window. It is used by the operator disp_regiondisp_regionDispRegionDispRegionDispRegion. ApproximationApproximationApproximationApproximationapproximation controls the polygon approximation for contour display ( 0 <=> no approximation). ApproximationApproximationApproximationApproximationapproximation is only important for displaying the contour of objects, especially if a line style was set with set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle.

Execution Information

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Window handle.

ApproximationApproximationApproximationApproximationapproximation (output_control)  string HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Current approximation error for contour display.

Result

get_line_approxget_line_approxGetLineApproxGetLineApproxGetLineApprox returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_line_approxset_line_approxSetLineApproxSetLineApproxSetLineApprox, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle, disp_regiondisp_regionDispRegionDispRegionDispRegion

See also

get_region_polygonget_region_polygonGetRegionPolygonGetRegionPolygonGetRegionPolygon, set_line_approxset_line_approxSetLineApproxSetLineApproxSetLineApprox, set_line_styleset_line_styleSetLineStyleSetLineStyleSetLineStyle, disp_regiondisp_regionDispRegionDispRegionDispRegion

Module

Foundation