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

gen_circle_contour_xld( : ContCircle : Row, Column, Radius, StartPhi, EndPhi, PointOrder, Resolution : )

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)

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

Beschreibung

gen_circle_contour_xldgen_circle_contour_xldGenCircleContourXldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld erzeugt einen oder mehrere Kreisbögen oder geschlossene Kreise. Kreise werden durch ihren Mittelpunkt (RowRowRowRowrowrow, ColumnColumnColumnColumncolumncolumn) und ihren RadiusRadiusRadiusRadiusradiusradius beschrieben. Kreisbögen werden zusätzlich durch den Anfangs- und Endwinkel StartPhiStartPhiStartPhiStartPhistartPhistart_phi und EndPhiEndPhiEndPhiEndPhiendPhiend_phi des Start- bzw. Endpunktes, sowie den zugehörigen Umlaufsinn PointOrderPointOrderPointOrderPointOrderpointOrderpoint_order charakterisiert. Die Auflösung der resultierenden XLD Konturen ContCircleContCircleContCircleContCirclecontCirclecont_circle wird über den Parameter ResolutionResolutionResolutionResolutionresolutionresolution 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 ResolutionResolutionResolutionResolutionresolutionresolution.

Ausführungsinformationen

Parameter

ContCircleContCircleContCircleContCirclecontCirclecont_circle (output_object)  xld_cont(-array) objectHXLDContHObjectHXLDContHobject *

Ausgabe-Konturen.

RowRowRowRowrowrow (input_control)  circle.center.y(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Zeilenkoordinaten der Mittelpunkte der Kreise oder Kreisbögen.

Defaultwert: 200.0

ColumnColumnColumnColumncolumncolumn (input_control)  circle.center.x(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Spaltenkoordinaten der Mittelpunkte der Kreise oder Kreisbögen.

Defaultwert: 200.0

RadiusRadiusRadiusRadiusradiusradius (input_control)  circle.radius(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Radien der Kreise oder Kreisbögen.

Defaultwert: 100.0

Restriktion: Radius > 0

StartPhiStartPhiStartPhiStartPhistartPhistart_phi (input_control)  angle.rad(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Winkel der Startpunkte der Kreise oder Kreisbögen [rad].

Defaultwert: 0.0

EndPhiEndPhiEndPhiEndPhiendPhiend_phi (input_control)  angle.rad(-array) HTupleMaybeSequence[float]HTupleHtuple (real) (double) (double) (double)

Winkel der Endpunkte der Kreise oder Kreisbögen [rad].

Defaultwert: 6.28318

PointOrderPointOrderPointOrderPointOrderpointOrderpoint_order (input_control)  string(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Mathematischer Umlaufsinn der Kreise oder Kreisbögen.

Defaultwert: 'positive' "positive" "positive" "positive" "positive" "positive"

Werteliste: 'negative'"negative""negative""negative""negative""negative", 'positive'"positive""positive""positive""positive""positive"

ResolutionResolutionResolutionResolutionresolutionresolution (input_control)  real HTuplefloatHTupleHtuple (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_xldGenCircleContourXldGenCircleContourXldGenCircleContourXldgen_circle_contour_xld den Wert TRUE. Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

draw_circledraw_circleDrawCircleDrawCircleDrawCircledraw_circle

Nachfolger

disp_xlddisp_xldDispXldDispXldDispXlddisp_xld

Alternativen

gen_ellipse_contour_xldgen_ellipse_contour_xldGenEllipseContourXldGenEllipseContourXldGenEllipseContourXldgen_ellipse_contour_xld

Modul

Foundation