gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xldgen_circle_contour_xld
Short description
gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xldgen_circle_contour_xld — Create XLD contours corresponding to circles or circular arcs.
Signature
gen_circle_contour_xld( out xld_cont ContCircle, circle.center.y Row, circle.center.x Column, circle.radius Radius, angle.rad StartPhi, angle.rad EndPhi, string PointOrder, real Resolution )gen_circle_contour_xld( : ContCircle : Row, Column, Radius, StartPhi, EndPhi, PointOrder, Resolution : )void GenCircleContourXld( HObject* ContCircle, const HTuple& Row, const HTuple& Column, const HTuple& Radius, const HTuple& StartPhi, const HTuple& EndPhi, const HTuple& PointOrder, const HTuple& Resolution )static void HOperatorSet.GenCircleContourXld( out HObject contCircle, HTuple row, HTuple column, HTuple radius, HTuple startPhi, HTuple endPhi, HTuple pointOrder, HTuple resolution )def gen_circle_contour_xld( row: MaybeSequence[float], column: MaybeSequence[float], radius: MaybeSequence[float], start_phi: MaybeSequence[float], end_phi: MaybeSequence[float], point_order: MaybeSequence[str], resolution: float ) -> HObject
Herror gen_circle_contour_xld( Hobject* ContCircle, double Row, double Column, double Radius, double StartPhi, double EndPhi, const char* PointOrder, double Resolution )
Herror T_gen_circle_contour_xld( Hobject* ContCircle, const Htuple Row, const Htuple Column, const Htuple Radius, const Htuple StartPhi, const Htuple EndPhi, const Htuple PointOrder, const Htuple Resolution )
void HXLDCont::GenCircleContourXld( const HTuple& Row, const HTuple& Column, const HTuple& Radius, const HTuple& StartPhi, const HTuple& EndPhi, const HTuple& PointOrder, double Resolution )
void HXLDCont::GenCircleContourXld( double Row, double Column, double Radius, double StartPhi, double EndPhi, const HString& PointOrder, double Resolution )
void HXLDCont::GenCircleContourXld( double Row, double Column, double Radius, double StartPhi, double EndPhi, const char* PointOrder, double Resolution )
void HXLDCont::GenCircleContourXld( double Row, double Column, double Radius, double StartPhi, double EndPhi, const wchar_t* PointOrder, double Resolution ) (Windows only)
void HXLDCont.GenCircleContourXld( HTuple row, HTuple column, HTuple radius, HTuple startPhi, HTuple endPhi, HTuple pointOrder, double resolution )
void HXLDCont.GenCircleContourXld( double row, double column, double radius, double startPhi, double endPhi, string pointOrder, double resolution )
Description
gen_circle_contour_xldGenCircleContourXld creates one or more circular arcs or
closed circles. Circles are specified by their center
(Rowrowrow, Columncolumncolumn) and their Radiusradiusradius.
In addition to that, circular arcs are characterized by the angle
of the start point StartPhistartPhistart_phi, the angle of the end point
EndPhiendPhiend_phi, and the PointOrderpointOrderpoint_order along the
boundary.
The resolution of the resulting contours ContCirclecontCirclecont_circle is
controlled via Resolutionresolutionresolution containing the Euclidean
distance in pixel between neighboring contour points. In general,
the distance between the second to last and the last point is smaller
than Resolutionresolutionresolution.
Parameter Broadcasting
This operator supports parameter broadcasting.
This means that each parameter can be given as a tuple of length
1 or N.
Parameters with tuple length 1 will be repeated internally
such that the number of created items is always N.
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
ContCirclecontCirclecont_circle (output_object) xld_cont(-array) → objectobjectHObjectHXLDContHObjectHobject *
Resulting contours.
Rowrowrow (input_control) circle.center.y(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Row coordinate of the center of the circles or
circular arcs.
Default: 200.0200.0
Columncolumncolumn (input_control) circle.center.x(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Column coordinate of the center of the circles or
circular arcs.
Default: 200.0200.0
Radiusradiusradius (input_control) circle.radius(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Radius of the circles or circular arcs.
Default: 100.0100.0
Restriction: Radius > 0
StartPhistartPhistart_phi (input_control) angle.rad(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Angle of the start points of the circles
or circular arcs [rad].
Default: 0.00.0
EndPhiendPhiend_phi (input_control) angle.rad(-array) → (real)(real)HTuple (double)HTuple (double)MaybeSequence[float]Htuple (double)
Angle of the end points of the circles
or circular arcs [rad].
Default: 6.283186.28318
PointOrderpointOrderpoint_order (input_control) string(-array) → (string)(string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)
Point order along the circles or circular arcs.
Default: 'positive'"positive"
List of values: 'negative', 'positive'"negative", "positive"
Resolutionresolutionresolution (input_control) real → (real)(real)HTuple (double)HTuple (double)floatHtuple (double)
Distance between neighboring contour points.
Default: 1.01.0
Restriction: Resolution >= 0.00001
Example
(HDevelop)
draw_circle (WindowHandle, Row, Column, Radius)
gen_circle_contour_xld (ContCircle, Row, Column, Radius, 0, \
rad(360) , 'positive', 1.0)
gen_region_contour_xld (ContCircle, Region, 'filled')
Result
gen_circle_contour_xldGenCircleContourXld returns 2 (H_MSG_TRUE) if all parameter values
are correct. If necessary, an exception is raised.
Combinations with other operators
Combinations
Possible predecessors
draw_circleDrawCircle
Possible successors
disp_xldDispXld
Alternatives
gen_ellipse_contour_xldGenEllipseContourXld
Module
Foundation