gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXld (Operator)
Name
gen_contour_polygon_rounded_xldT_gen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXld
— Generate an XLD contour with rounded corners from a polygon (given
as tuples).
Signature
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)
Description
gen_contour_polygon_rounded_xldgen_contour_polygon_rounded_xldGenContourPolygonRoundedXldGenContourPolygonRoundedXldGenContourPolygonRoundedXld
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
.
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 →
objectHXLDContHXLDContHobject *
Resulting contour.
RowRowRowRowrow
(input_control) coordinates.y-array →
HTupleHTupleHtuple (real / integer) (double / int / long) (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) coordinates.x-array →
HTupleHTupleHtuple (real / integer) (double / int / long) (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 →
HTupleHTupleHtuple (real / integer) (double / int / long) (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 →
HTupleHTupleHtuple (real / integer) (double / int / long) (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_contourGetRegionContourGetRegionContourGetRegionContour
Possible Successors
smooth_contours_xldsmooth_contours_xldSmoothContoursXldSmoothContoursXldSmoothContoursXld
,
gen_polygons_xldgen_polygons_xldGenPolygonsXldGenPolygonsXldGenPolygonsXld
See also
gen_contour_polygon_xldgen_contour_polygon_xldGenContourPolygonXldGenContourPolygonXldGenContourPolygonXld
,
gen_contours_skeleton_xldgen_contours_skeleton_xldGenContoursSkeletonXldGenContoursSkeletonXldGenContoursSkeletonXld
Module
Foundation