gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXldgen_contour_polygon_rounded_xld (算子)

名称

gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXldgen_contour_polygon_rounded_xld — 从多边形(以元组形式给出)生成具有圆角的 XLD 轮廓。

签名

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)

void GenContourPolygonRoundedXld(HObject* Contour, const HTuple& Row, const HTuple& Col, const HTuple& Radius, const HTuple& SamplingInterval)

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

void HXLDCont::GenContourPolygonRoundedXld(const HTuple& Row, const HTuple& Col, const HTuple& Radius, double 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)

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

描述

gen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXldGenContourPolygonRoundedXldgen_contour_polygon_rounded_xld generates an XLD contour ContourContourContourContourcontourcontour with rounded corners from a polygon given in the tuples RowRowRowRowrowrow and ColColColColcolcol. The rounded corners are created in form of arcs defined by RadiusRadiusRadiusRadiusradiusradius. 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 SamplingIntervalSamplingIntervalSamplingIntervalSamplingIntervalsamplingIntervalsampling_interval parameter defines the distance of the control points of the formed contour ContourContourContourContourcontourcontour

执行信息

参数

ContourContourContourContourcontourcontour (输出对象)  xld_cont objectHXLDContHObjectHXLDContHobject *

Resulting contour.

RowRowRowRowrowrow (输入控制)  coordinates.y-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Row coordinates of the polygon.

默认值: [20,80,80,20,20]

建议值: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

ColColColColcolcol (输入控制)  coordinates.x-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Column coordinates of the polygon.

默认值: [20,20,80,80,20]

建议值: 0, 1, 2, 3, 4, 5, 10, 20, 50, 100, 200, 500

RadiusRadiusRadiusRadiusradiusradius (输入控制)  number-array HTupleSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Radii of the rounded corners.

默认值: [20,20,20,20,20]

建议值: 0, 1, 2, 5, 10, 20, 50

SamplingIntervalSamplingIntervalSamplingIntervalSamplingIntervalsamplingIntervalsampling_interval (输入控制)  number HTupleUnion[float, int]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Distance of the samples.

默认值: 1.0

建议值: 0.5, 1.0, 2.0, 5.0

可能的前趋

get_region_contourget_region_contourGetRegionContourGetRegionContourGetRegionContourget_region_contour

可能的后继

smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXldsmooth_contours_xld, gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXldgen_polygons_xld

另见

gen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldGenContourPolygonXldgen_contour_polygon_xld, gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXldgen_contours_skeleton_xld

模块

基础