Name
disp_ellipsedisp_ellipseDispEllipseDispEllipse — Ausgeben von Ellipsen.
Herror disp_ellipse(const Hlong WindowHandle, const Hlong CenterRow, const Hlong CenterCol, double Phi, double Radius1, double Radius2)
Herror T_disp_ellipse(const Htuple WindowHandle, const Htuple CenterRow, const Htuple CenterCol, const Htuple Phi, const Htuple Radius1, const Htuple Radius2)
void DispEllipse(const HTuple& WindowHandle, const HTuple& CenterRow, const HTuple& CenterCol, const HTuple& Phi, const HTuple& Radius1, const HTuple& Radius2)
void HWindow::DispEllipse(const HTuple& CenterRow, const HTuple& CenterCol, const HTuple& Phi, const HTuple& Radius1, const HTuple& Radius2) const
void HWindow::DispEllipse(Hlong CenterRow, Hlong CenterCol, double Phi, double Radius1, double Radius2) const
static void HOperatorSet.DispEllipse(HTuple windowHandle, HTuple centerRow, HTuple centerCol, HTuple phi, HTuple radius1, HTuple radius2)
void HWindow.DispEllipse(HTuple centerRow, HTuple centerCol, HTuple phi, HTuple radius1, HTuple radius2)
void HWindow.DispEllipse(int centerRow, int centerCol, double phi, double radius1, double radius2)
disp_ellipsedisp_ellipseDispEllipseDispEllipseDispEllipse trägt eine oder mehrere Ellipsen mit dem
Schwerpunkt (CenterRowCenterRowCenterRowCenterRowcenterRow,CenterColCenterColCenterColCenterColcenterCol), der Orientierung
PhiPhiPhiPhiphi (in Bogenmaß) und den Halbradien Radius1Radius1Radius1Radius1radius1
und Radius2Radius2Radius2Radius2radius2 in das Ausgabefenster ein.
Es kann mehr als eine Ellipse ausgegeben werden, indem Tupel
von Punkten, Winkeln und Halbradien übergeben werden.
Die Parameter für die Ausgabe können wie bei der Darstellung von Regionen
(disp_regiondisp_regionDispRegionDispRegionDispRegion) mit den Operatoren set_colorset_colorSetColorSetColorSetColor,
set_drawset_drawSetDrawSetDrawSetDraw, set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth, etc. bestimmt werden.
Für die Behandlung der Farben bei mehr als einer Ellipse,
siehe set_colorset_colorSetColorSetColorSetColor.
Der Schwerpunkt muss innerhalb der Fensterkoordinaten liegen.
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Zeilenindex des Schwerpunktes.
Defaultwert: 64
Wertevorschläge: 0, 64, 128, 256
Typischer Wertebereich: 0
≤
CenterRow
CenterRow
CenterRow
CenterRow
centerRow
≤
511 (lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 10
Spaltenindex des Schwerpunktes.
Defaultwert: 64
Wertevorschläge: 0, 64, 128, 256
Typischer Wertebereich: 0
≤
CenterCol
CenterCol
CenterCol
CenterCol
centerCol
≤
511 (lin)
Minimale Schrittweite: 1
Empfohlene Schrittweite: 10
PhiPhiPhiPhiphi (input_control) ellipse.angle.rad(-array) → HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Orientierung der Ellipse in Bogenmaß.
Defaultwert: 0.0
Wertevorschläge: 0.0, 0.785398, 1.570796, 3.1415926, 6.283185
Typischer Wertebereich: 0.0
≤
Phi
Phi
Phi
Phi
phi
≤
6.283185 (lin)
Minimale Schrittweite: 0.01
Empfohlene Schrittweite: 0.1
Lange Halbachse der Ellipse.
Defaultwert: 24.0
Wertevorschläge: 0.0, 64.0, 128.0, 256.0
Typischer Wertebereich: 0.0
≤
Radius1
Radius1
Radius1
Radius1
radius1
≤
511.0 (lin)
Minimale Schrittweite: 1.0
Empfohlene Schrittweite: 10.0
Kurze Halbachse der Ellipse.
Defaultwert: 14.0
Wertevorschläge: 0.0, 64.0, 128.0, 256.0
Typischer Wertebereich: 0.0
≤
Radius2
Radius2
Radius2
Radius2
radius2
≤
511.0 (lin)
Minimale Schrittweite: 1.0
Empfohlene Schrittweite: 10.0
set_color(WindowHandle,'red')
draw_region(MyRegion,WindowHandle)
elliptic_axis(MyRegion,Ra,Rb,Phi)
area_center(MyRegion,_,Row,Column)
disp_ellipse(WindowHandle,Row,Column,Phi,Ra,Rb)
set_color(WindowHandle,"red") ;
draw_region(&MyRegion,WindowHandle) ;
elliptic_axis(MyRegion,&Ra,&Rb,&Phi) ;
area_center(MyRegion,NULL,&Row,&Column) ;
disp_ellipse(WindowHandle,Row,Column,Phi,Ra,Rb);
set_color(WindowHandle,'red')
draw_region(MyRegion,WindowHandle)
elliptic_axis(MyRegion,Ra,Rb,Phi)
area_center(MyRegion,_,Row,Column)
disp_ellipse(WindowHandle,Row,Column,Phi,Ra,Rb)
set_color(WindowHandle,'red')
draw_region(MyRegion,WindowHandle)
elliptic_axis(MyRegion,Ra,Rb,Phi)
area_center(MyRegion,_,Row,Column)
disp_ellipse(WindowHandle,Row,Column,Phi,Ra,Rb)
set_color(WindowHandle,'red')
draw_region(MyRegion,WindowHandle)
elliptic_axis(MyRegion,Ra,Rb,Phi)
area_center(MyRegion,_,Row,Column)
disp_ellipse(WindowHandle,Row,Column,Phi,Ra,Rb)
Sind die Parameterwerte korrekt, dann liefert
disp_ellipsedisp_ellipseDispEllipseDispEllipseDispEllipse den Wert 2 (H_MSG_TRUE). Andernfalls wird eine
Fehlerbehandlung durchgeführt.
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_drawset_drawSetDrawSetDrawSetDraw,
set_colorset_colorSetColorSetColorSetColor,
set_coloredset_coloredSetColoredSetColoredSetColored,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi,
elliptic_axiselliptic_axisEllipticAxisEllipticAxisEllipticAxis,
area_centerarea_centerAreaCenterAreaCenterAreaCenter
disp_circledisp_circleDispCircleDispCircleDispCircle,
disp_regiondisp_regionDispRegionDispRegionDispRegion,
gen_ellipsegen_ellipseGenEllipseGenEllipseGenEllipse,
gen_circlegen_circleGenCircleGenCircleGenCircle
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_colorset_colorSetColorSetColorSetColor,
set_rgbset_rgbSetRgbSetRgbSetRgb,
set_hsiset_hsiSetHsiSetHsiSetHsi,
set_drawset_drawSetDrawSetDrawSetDraw,
set_line_widthset_line_widthSetLineWidthSetLineWidthSetLineWidth
Foundation