HALCON Reference Manual 10.0.2
Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators

get_line_approxget_line_approxget_line_approxGetLineApproxGetLineApprox (Operator)

Name

get_line_approxget_line_approxget_line_approxGetLineApproxGetLineApprox — Get the current approximation error for contour display.

Signature

get_line_approx( : : WindowHandle : Approximation)

Herror get_line_approx(const Hlong WindowHandle, Hlong* Approximation)

Herror T_get_line_approx(const Htuple WindowHandle, Htuple* Approximation)

Herror get_line_approx(const HTuple& WindowHandle, Hlong* Approximation)

Hlong HWindow::GetLineApprox() const

void HOperatorSetX.GetLineApprox(
[in] VARIANT WindowHandle, [out] VARIANT* Approximation)

Hlong HWindowX.GetLineApprox()

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

int HWindow.GetLineApprox()

Description

get_line_approxget_line_approxget_line_approxGetLineApproxGetLineApprox returns a parameter that controls the approximation error for region contour display in the window. It is used by the operator disp_regiondisp_regiondisp_regionDispRegionDispRegion. 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_styleset_line_styleSetLineStyleSetLineStyle.

Parallelization

Parameters

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Window_id.

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

Current approximation error for contour display.

Result

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

Possible Successors

set_line_approxset_line_approxset_line_approxSetLineApproxSetLineApprox, set_line_styleset_line_styleset_line_styleSetLineStyleSetLineStyle, disp_regiondisp_regiondisp_regionDispRegionDispRegion

See also

get_region_polygonget_region_polygonget_region_polygonGetRegionPolygonGetRegionPolygon, set_line_approxset_line_approxset_line_approxSetLineApproxSetLineApprox, set_line_styleset_line_styleset_line_styleSetLineStyleSetLineStyle, disp_regiondisp_regiondisp_regionDispRegionDispRegion

Module

Foundation


Table of Contents / Graphics / Parameters ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH