Operator Reference

gen_contour_polygon_xldT_gen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld (Operator)

gen_contour_polygon_xldT_gen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld — Generate an XLD contour from a polygon (given as tuples).

Signature

gen_contour_polygon_xld( : Contour : Row, Col : )

Herror T_gen_contour_polygon_xld(Hobject* Contour, const Htuple Row, const Htuple Col)

void GenContourPolygonXld(HObject* Contour, const HTuple& Row, const HTuple& Col)

void HXLDCont::HXLDCont(const HTuple& Row, const HTuple& Col)

void HXLDCont::GenContourPolygonXld(const HTuple& Row, const HTuple& Col)

static void HOperatorSet.GenContourPolygonXld(out HObject contour, HTuple row, HTuple col)

public HXLDCont(HTuple row, HTuple col)

void HXLDCont.GenContourPolygonXld(HTuple row, HTuple col)

def gen_contour_polygon_xld(row: Sequence[Union[float, int]], col: Sequence[Union[float, int]]) -> HObject

Description

gen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld generates an XLD contour ContourContourContourcontourcontour from a polygon given in the tuples RowRowRowrowrow and ColColColcolcol. This operator is useful if contours have been obtained from routines outside the core library, but higher level operators, e.g., polygon approximation and extraction of parallels, are to be performed on the contours.

Execution Information

  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).
  • Multithreading scope: global (may be called from any thread).
  • Processed without parallelization.

Parameters

ContourContourContourcontourcontour (output_object)  xld_cont objectHXLDContHObjectHObjectHobject *

Resulting contour.

RowRowRowrowrow (input_control)  coordinates.y-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Row coordinates of the polygon.

Default: [0,1,2,2,2]

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

ColColColcolcol (input_control)  coordinates.x-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Column coordinates of the polygon.

Default: [0,0,0,1,2]

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

Possible Predecessors

get_region_contourget_region_contourGetRegionContourGetRegionContourget_region_contour

Possible Successors

smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldsmooth_contours_xld, gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldgen_polygons_xld

See also

gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld, get_contour_xldget_contour_xldGetContourXldGetContourXldget_contour_xld

Module

Foundation