Skip to content

gen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xldT_gen_contour_polygon_xld🔗

Short description🔗

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

Signature🔗

gen_contour_polygon_xld( out xld_cont Contour, coordinates.y Row, coordinates.x Col )gen_contour_polygon_xld( : Contour : Row, Col : )void GenContourPolygonXld( HObject* Contour, const HTuple& Row, const HTuple& Col )static void HOperatorSet.GenContourPolygonXld( out HObject contour, HTuple row, HTuple col )def gen_contour_polygon_xld( row: Sequence[Union[float, int]], col: Sequence[Union[float, int]] ) -> HObject

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

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

public HXLDCont( HTuple row, HTuple col )

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

void HXLDCont.GenContourPolygonXld( HTuple row, HTuple col )

Description🔗

gen_contour_polygon_xldGenContourPolygonXld generates an XLD contour Contourcontourcontour from a polygon given in the tuples Rowrowrow and Colcolcol. 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🔗

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🔗

Contourcontourcontour (output_object) xld_cont → objectobjectHObjectHXLDContHObjectHobject *

Resulting contour.

Rowrowrow (input_control) coordinates.y-array → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)

Row coordinates of the polygon.

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

Colcolcol (input_control) coordinates.x-array → (real / integer)(real / integer)HTuple (double / Hlong)HTuple (double / int / long)Sequence[Union[float, int]]Htuple (double / Hlong)

Column coordinates of the polygon.

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

Combinations with other operators🔗

Combinations

Possible predecessors

get_region_contourGetRegionContour

Possible successors

smooth_contours_xldSmoothContoursXld, gen_polygons_xldGenPolygonsXld

See also

gen_contours_skeleton_xldGenContoursSkeletonXld, get_contour_xldGetContourXld

Module🔗

Foundation