gen_region_hlinegen_region_hlineGenRegionHlineGenRegionHlinegen_region_hline (Operator)

Name

gen_region_hlinegen_region_hlineGenRegionHlineGenRegionHlinegen_region_hline — Abspeichern von in Hessescher Normalform beschriebenen Eingabelinien als Regionen.

Signatur

gen_region_hline( : Regions : Orientation, Distance : )

Herror gen_region_hline(Hobject* Regions, double Orientation, double Distance)

Herror T_gen_region_hline(Hobject* Regions, const Htuple Orientation, const Htuple Distance)

void GenRegionHline(HObject* Regions, const HTuple& Orientation, const HTuple& Distance)

void HRegion::GenRegionHline(const HTuple& Orientation, const HTuple& Distance)

void HRegion::GenRegionHline(double Orientation, double Distance)

static void HOperatorSet.GenRegionHline(out HObject regions, HTuple orientation, HTuple distance)

void HRegion.GenRegionHline(HTuple orientation, HTuple distance)

void HRegion.GenRegionHline(double orientation, double distance)

def gen_region_hline(orientation: MaybeSequence[Union[int, float]], distance: MaybeSequence[Union[int, float]]) -> HObject

Beschreibung

gen_region_hlinegen_region_hlineGenRegionHlineGenRegionHlineGenRegionHlinegen_region_hline legt die in Hessescher Normalform beschriebenen Linien als Regionen ab. Eine Linie wird bestimmt durch den Abstand der Linie vom Ursprung (DistanceDistanceDistanceDistancedistancedistance, entspricht der Länge des Normalenvektors) und der Richtung des Normalenvektors (OrientationOrientationOrientationOrientationorientationorientation, entspricht der Orientierung der Linie ). Die Richtungen wurden so definiert, dass bei OrientationOrientationOrientationOrientationorientationorientation = 0 der Normalenvektor in Richtung der X-Achse liegt, was einer senkrechten Linie entspricht. Bei OrientationOrientationOrientationOrientationorientationorientation = zeigt der Normalenvektor in Richtung der Y-Achse, d.h. es wird eine waagerechte Linie beschrieben.

Achtung

Die Linien werden am derzeitigen maximalem Bildformat geclippt.

Ausführungsinformationen

Parameter

RegionsRegionsRegionsRegionsregionsregions (output_object)  region(-array) objectHRegionHObjectHRegionHobject *

Erzeugte Regionen (für jede Linie eine), beschnitten auf maximales Bildformat.

Parameteranzahl: Regions == Distance

OrientationOrientationOrientationOrientationorientationorientation (input_control)  hesseline.angle.rad(-array) HTupleMaybeSequence[Union[int, float]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Orientierung des Normalenvektors in Bogenmaß.

Parameteranzahl: Orientation == Distance

Defaultwert: 0.0

Wertevorschläge: -0.78, 0.0, 0.78, 1.57

Typischer Wertebereich: Orientation Orientation Orientation Orientation orientation orientation (lin)

Empfohlene Schrittweite: 0.02

DistanceDistanceDistanceDistancedistancedistance (input_control)  hesseline.distance(-array) HTupleMaybeSequence[Union[int, float]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Abstand der Linie vom Koordinatenursprung (0,0).

Defaultwert: 200

Wertevorschläge: 10, 50, 100, 200, 300, 400

Typischer Wertebereich: Distance Distance Distance Distance distance distance (lin)

Empfohlene Schrittweite: 1

Ergebnis

gen_region_hlinegen_region_hlineGenRegionHlineGenRegionHlineGenRegionHlinegen_region_hline liefert immer den Wert 2 (H_MSG_TRUE).

Alternativen

gen_region_linegen_region_lineGenRegionLineGenRegionLineGenRegionLinegen_region_line

Siehe auch

hough_lineshough_linesHoughLinesHoughLinesHoughLineshough_lines

Modul

Foundation