gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld (Operator)
Name
gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld — Erzeugen von XLD-Konturen in Form von Kreisen oder Kreisbögen.
Signatur
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 GenCircleContourXld(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)
(
Nur Windows)
static void HOperatorSet.GenCircleContourXld(out HObject contCircle, HTuple row, HTuple column, HTuple radius, HTuple startPhi, HTuple endPhi, HTuple pointOrder, HTuple resolution)
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)
Beschreibung
gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld erzeugt einen oder mehrere Kreisbögen oder
geschlossene Kreise. Kreise werden durch ihren Mittelpunkt (RowRowRowrowrow,
ColumnColumnColumncolumncolumn) und ihren RadiusRadiusRadiusradiusradius beschrieben.
Kreisbögen werden zusätzlich durch den Anfangs- und Endwinkel
StartPhiStartPhiStartPhistartPhistart_phi und EndPhiEndPhiEndPhiendPhiend_phi des Start- bzw. Endpunktes,
sowie den zugehörigen Umlaufsinn PointOrderPointOrderPointOrderpointOrderpoint_order charakterisiert.
Die Auflösung der resultierenden XLD Konturen ContCircleContCircleContCirclecontCirclecont_circle
wird über den Parameter ResolutionResolutionResolutionresolutionresolution festgelegt: Er bestimmt den
euklidischen Abstand in Pixeln zwischen benachbarten Konturpunkten.
Der Abstand zwischen dem vorletzten und dem letzten Konturpunkt ist im
Allgemeinen kleiner als ResolutionResolutionResolutionresolutionresolution.
Parameter-Broadcasting
Dieser Operator unterstützt Parameter-Broadcasting.
Das bedeutet, dass für jeden Parameter ein Tupel der Länge
1 oder 'N'"N""N""N""N" übergeben werden kann.
Tupel der Länge 1 werden wiederholt verwendet,
so dass immer 'N'"N""N""N""N" Elemente erzeugt und zurückgegeben werden.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
ContCircleContCircleContCirclecontCirclecont_circle (output_object) xld_cont(-array) → objectHXLDContHObjectHObjectHobject *
Ausgabe-Konturen.
RowRowRowrowrow (input_control) circle.center.y(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Zeilenkoordinaten der Mittelpunkte der Kreise oder
Kreisbögen.
Default:
200.0
ColumnColumnColumncolumncolumn (input_control) circle.center.x(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Spaltenkoordinaten der Mittelpunkte der Kreise oder
Kreisbögen.
Default:
200.0
RadiusRadiusRadiusradiusradius (input_control) circle.radius(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Radien der Kreise oder Kreisbögen.
Default:
100.0
Restriktion:
Radius > 0
StartPhiStartPhiStartPhistartPhistart_phi (input_control) angle.rad(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Winkel der Startpunkte der Kreise oder Kreisbögen
[rad].
Default:
0.0
EndPhiEndPhiEndPhiendPhiend_phi (input_control) angle.rad(-array) → HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)
Winkel der Endpunkte der Kreise oder Kreisbögen
[rad].
Default:
6.28318
PointOrderPointOrderPointOrderpointOrderpoint_order (input_control) string(-array) → HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)
Mathematischer Umlaufsinn der Kreise oder Kreisbögen.
Default:
'positive'
"positive"
"positive"
"positive"
"positive"
Werteliste:
'negative'"negative""negative""negative""negative", 'positive'"positive""positive""positive""positive"
ResolutionResolutionResolutionresolutionresolution (input_control) real → HTuplefloatHTupleHtuple (real) (double) (double) (double)
Abstand zwischen benachbarten Konturpunkten.
Default:
1.0
Restriktion:
Resolution >= 0.00001
Beispiel (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')
Ergebnis
Sind die Parameterwerte korrekt, dann liefert
gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld den Wert 2 (
H_MSG_TRUE)
. Gegebenenfalls
wird eine Fehlerbehandlung durchgeführt.
Vorgänger
draw_circledraw_circleDrawCircleDrawCircledraw_circle
Nachfolger
disp_xlddisp_xldDispXldDispXlddisp_xld
Alternativen
gen_ellipse_contour_xldgen_ellipse_contour_xldGenEllipseContourXldGenEllipseContourXldgen_ellipse_contour_xld
Modul
Foundation