gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXld (Operator)
Name
gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXld
— 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_xldGenCircleContourXldGenCircleContourXldGenCircleContourXld
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
StartPhiStartPhiStartPhiStartPhistartPhi
und EndPhiEndPhiEndPhiEndPhiendPhi
des Start- bzw. Endpunktes,
sowie den zugehörigen Umlaufsinn PointOrderPointOrderPointOrderPointOrderpointOrder
charakterisiert.
Die Auflösung der resultierenden XLD Konturen ContCircleContCircleContCircleContCirclecontCircle
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
.
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
ContCircleContCircleContCircleContCirclecontCircle
(output_object) xld_cont(-array) →
objectHXLDContHXLDContHobject *
Ausgabe-Konturen.
RowRowRowRowrow
(input_control) circle.center.y(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Zeilenkoordinaten der Mittelpunkte der Kreise oder
Kreisbögen.
Defaultwert: 200.0
ColumnColumnColumnColumncolumn
(input_control) circle.center.x(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Spaltenkoordinaten der Mittelpunkte der Kreise oder
Kreisbögen.
Defaultwert: 200.0
RadiusRadiusRadiusRadiusradius
(input_control) circle.radius(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Radii der Kreise oder Kreisbögen.
Defaultwert: 100.0
Restriktion: Radius > 0
StartPhiStartPhiStartPhiStartPhistartPhi
(input_control) angle.rad(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Winkel der Startpunkte der Kreise oder Kreisbögen
[rad].
Defaultwert: 0.0
EndPhiEndPhiEndPhiEndPhiendPhi
(input_control) angle.rad(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Winkel der Endpunkte der Kreise oder Kreisbögen
[rad].
Defaultwert: 6.28318
PointOrderPointOrderPointOrderPointOrderpointOrder
(input_control) string(-array) →
HTupleHTupleHtuple (string) (string) (HString) (char*)
Mathematischer Umlaufsinn der Kreise oder Kreisbögen.
Defaultwert:
'positive'
"positive"
"positive"
"positive"
"positive"
Werteliste: 'negative'"negative""negative""negative""negative", 'positive'"positive""positive""positive""positive"
ResolutionResolutionResolutionResolutionresolution
(input_control) real →
HTupleHTupleHtuple (real) (double) (double) (double)
Abstand zwischen benachbarten Konturpunkten.
Defaultwert: 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_xldGenCircleContourXldGenCircleContourXldGenCircleContourXld
den Wert 2 (H_MSG_TRUE). Gegebenenfalls
wird eine Fehlerbehandlung durchgeführt.
Vorgänger
draw_circledraw_circleDrawCircleDrawCircleDrawCircle
Nachfolger
disp_xlddisp_xldDispXldDispXldDispXld
Alternativen
gen_ellipse_contour_xldgen_ellipse_contour_xldGenEllipseContourXldGenEllipseContourXldGenEllipseContourXld
Modul
Foundation