gen_contour_polygon_xldT_gen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld (算子名称)
名称
gen_contour_polygon_xldT_gen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld
— Generate an XLD contour from a polygon (given as tuples).
参数签名
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)
def gen_contour_polygon_xld(row: Sequence[Union[float, int]], col: Sequence[Union[float, int]]) -> HObject
描述
gen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld
generates an XLD contour
ContourContourContourContourcontourcontour
from a polygon given in the tuples RowRowRowRowrowrow
and ColColColColcolcol
. 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.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
ContourContourContourContourcontourcontour
(output_object) xld_cont →
objectHXLDContHObjectHXLDContHobject *
Resulting contour.
RowRowRowRowrowrow
(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
ColColColColcolcol
(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
可能的前置算子
get_region_contourget_region_contourGetRegionContourGetRegionContourGetRegionContourget_region_contour
可能的后置算子
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXldsmooth_contours_xld
,
gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld
参考其它
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld
,
get_contour_xldget_contour_xldGetContourXldGetContourXldGetContourXldget_contour_xld
模块
Foundation