HALCON Reference Manual 10.0.2
Table of Contents / XLD / Creation ClassesClassesClasses | | | Operators

gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXld (Operator)

Name

gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXld — Generate an XLD contour with rounded corners from a polygon (given as tuples).

Signature

gen_contour_polygon_rounded_xld( : Contour : Row, Col, Radius, SamplingInterval : )

Herror T_gen_contour_polygon_rounded_xld(Hobject* Contour, const Htuple Row, const Htuple Col, const Htuple Radius, const Htuple SamplingInterval)

Herror gen_contour_polygon_rounded_xld(Hobject* Contour, const HTuple& Row, const HTuple& Col, const HTuple& Radius, const HTuple& SamplingInterval)

HXLDCont HXLDCont::GenContourPolygonRoundedXld(const HTuple& Row, const HTuple& Col, const HTuple& Radius, const HTuple& SamplingInterval)

void HOperatorSetX.GenContourPolygonRoundedXld(
[out] IHUntypedObjectX*Contour, [in] VARIANT Row, [in] VARIANT Col, [in] VARIANT Radius, [in] VARIANT SamplingInterval)

void HXLDContX.GenContourPolygonRoundedXld(
[in] VARIANT Row, [in] VARIANT Col, [in] VARIANT Radius, [in] VARIANT SamplingInterval)

static void HOperatorSet.GenContourPolygonRoundedXld(out HObject contour, HTuple row, HTuple col, HTuple radius, HTuple samplingInterval)

void HXLDCont.GenContourPolygonRoundedXld(HTuple row, HTuple col, HTuple radius, HTuple samplingInterval)

void HXLDCont.GenContourPolygonRoundedXld(HTuple row, HTuple col, HTuple radius, double samplingInterval)

Description

gen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXld generates an XLD contour ContourContourContourContourcontour with rounded corners from a polygon given in the tuples RowRowRowRowrow and ColColColColcol. The rounded corners are created in form of arcs defined by RadiusRadiusRadiusRadiusradius. For every specified point of the polygon there must be a corresponding rounding radius defined. In case of a closed polygon the first and the last point have to be defined identical with the radii of these points being equal. In contrast, the radii of the first and last point of open polygons are ignored. Finally, the SamplingIntervalSamplingIntervalSamplingIntervalSamplingIntervalsamplingInterval parameter defines the distance of the control points of the formed contour ContourContourContourContourcontour.

Parallelization

Parameters

ContourContourContourContourcontour (output_object)  xld_cont objectHXLDContHXLDContHXLDContXHobject *

Resulting contour.

RowRowRowRowrow (input_control)  number-array HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Row coordinates of the polygon.

Default value: [20,80,80,20,20]

Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

ColColColColcol (input_control)  number-array HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Column coordinates of the polygon.

Default value: [20,20,80,80,20]

Suggested values: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

RadiusRadiusRadiusRadiusradius (input_control)  number-array HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Radii of the rounded corners.

Default value: [20,20,20,20,20]

Suggested values: 0, 1, 2, 5, 10, 20, 50

SamplingIntervalSamplingIntervalSamplingIntervalSamplingIntervalsamplingInterval (input_control)  number HTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong)

Distance of the samples.

Default value: 1.0

Suggested values: 0.5, 1.0, 2.0, 5.0

Possible Predecessors

get_region_contourget_region_contourget_region_contourGetRegionContourGetRegionContour

Possible Successors

smooth_contours_xldsmooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXld, gen_polygons_xldgen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXld

See also

gen_contour_polygon_xldgen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXld, gen_contours_skeleton_xldgen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXld

Module

Foundation


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