area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2area_intersection_rectangle2 (Operator)

Name

area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2area_intersection_rectangle2 — Berechnen der Schnittfläche von zwei orientierten Rechtecken.

Signatur

area_intersection_rectangle2( : : Rect1Row, Rect1Column, Rect1Phi, Rect1Length1, Rect1Length2, Rect2Row, Rect2Column, Rect2Phi, Rect2Length1, Rect2Length2 : AreaIntersection)

Herror area_intersection_rectangle2(double Rect1Row, double Rect1Column, double Rect1Phi, double Rect1Length1, double Rect1Length2, double Rect2Row, double Rect2Column, double Rect2Phi, double Rect2Length1, double Rect2Length2, double* AreaIntersection)

Herror T_area_intersection_rectangle2(const Htuple Rect1Row, const Htuple Rect1Column, const Htuple Rect1Phi, const Htuple Rect1Length1, const Htuple Rect1Length2, const Htuple Rect2Row, const Htuple Rect2Column, const Htuple Rect2Phi, const Htuple Rect2Length1, const Htuple Rect2Length2, Htuple* AreaIntersection)

void AreaIntersectionRectangle2(const HTuple& Rect1Row, const HTuple& Rect1Column, const HTuple& Rect1Phi, const HTuple& Rect1Length1, const HTuple& Rect1Length2, const HTuple& Rect2Row, const HTuple& Rect2Column, const HTuple& Rect2Phi, const HTuple& Rect2Length1, const HTuple& Rect2Length2, HTuple* AreaIntersection)

static void HOperatorSet.AreaIntersectionRectangle2(HTuple rect1Row, HTuple rect1Column, HTuple rect1Phi, HTuple rect1Length1, HTuple rect1Length2, HTuple rect2Row, HTuple rect2Column, HTuple rect2Phi, HTuple rect2Length1, HTuple rect2Length2, out HTuple areaIntersection)

def area_intersection_rectangle2(rect_1row: MaybeSequence[Union[float, int]], rect_1column: MaybeSequence[Union[float, int]], rect_1phi: MaybeSequence[Union[float, int]], rect_1length_1: MaybeSequence[Union[float, int]], rect_1length_2: MaybeSequence[Union[float, int]], rect_2row: MaybeSequence[Union[float, int]], rect_2column: MaybeSequence[Union[float, int]], rect_2phi: MaybeSequence[Union[float, int]], rect_2length_1: MaybeSequence[Union[float, int]], rect_2length_2: MaybeSequence[Union[float, int]]) -> Sequence[float]

def area_intersection_rectangle2_s(rect_1row: MaybeSequence[Union[float, int]], rect_1column: MaybeSequence[Union[float, int]], rect_1phi: MaybeSequence[Union[float, int]], rect_1length_1: MaybeSequence[Union[float, int]], rect_1length_2: MaybeSequence[Union[float, int]], rect_2row: MaybeSequence[Union[float, int]], rect_2column: MaybeSequence[Union[float, int]], rect_2phi: MaybeSequence[Union[float, int]], rect_2length_1: MaybeSequence[Union[float, int]], rect_2length_2: MaybeSequence[Union[float, int]]) -> float

Beschreibung

area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2area_intersection_rectangle2 berechnet die Schnittfläche von zwei orientierten Rechtecken (d.h. vom Typ Rectangle2), welche jeweils durch ihre Parameter (Schwerpunkt (Rect1RowRect1RowRect1Rowrect1Rowrect_1row, Rect1ColumnRect1ColumnRect1Columnrect1Columnrect_1column), Orientierung Rect1PhiRect1PhiRect1Phirect1Phirect_1phi sowie die halben Kantenlängen Rect1Length1Rect1Length1Rect1Length1rect1Length1rect_1length_1 und Rect1Length2Rect1Length2Rect1Length2rect1Length2rect_1length_2), respektive (Schwerpunkt (Rect2RowRect2RowRect2Rowrect2Rowrect_2row, Rect2ColumnRect2ColumnRect2Columnrect2Columnrect_2column), Orientierung Rect2PhiRect2PhiRect2Phirect2Phirect_2phi, sowie die halben Kantenlängen Rect2Length1Rect2Length1Rect2Length1rect2Length1rect_2length_1 und Rect2Length2Rect2Length2Rect2Length2rect2Length2rect_2length_2), definiert sind. Die Schnittfläche wird in AreaIntersectionAreaIntersectionAreaIntersectionareaIntersectionarea_intersection zurückgegeben.

Parameter-Broadcasting

Dieser Operator unterstützt Parameter-Broadcasting. Das bedeutet, dass für jeden Parameter ein Tupel der Länge 1 oder N übergeben werden kann. Tupel der Länge 1 werden wiederholt verwendet, so dass immer N Distanzen berechnet und zurückgegeben werden.

Ausführungsinformationen

Parameter

Rect1RowRect1RowRect1Rowrect1Rowrect_1row (input_control)  rectangle2.center.y(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des Mittelpunkts des ersten Rechtecks.

Rect1ColumnRect1ColumnRect1Columnrect1Columnrect_1column (input_control)  rectangle2.center.x(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des Mittelpunkts des ersten Rechtecks.

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

Winkel zwischen der positiven horizontalen Achse und der ersten Kante des ersten Rechtecks (im Bogenmaß).

Rect1Length1Rect1Length1Rect1Length1rect1Length1rect_1length_1 (input_control)  rectangle2.hwidth(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Halbe Länge der ersten Kante des ersten Rechtecks.

Rect1Length2Rect1Length2Rect1Length2rect1Length2rect_1length_2 (input_control)  rectangle2.hheight(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Halbe Länge der zweiten Achse des ersten Rechtecks.

Rect2RowRect2RowRect2Rowrect2Rowrect_2row (input_control)  rectangle2.center.y(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Zeilenkoordinate des Mittelpunkts des zweiten Rechtecks.

Rect2ColumnRect2ColumnRect2Columnrect2Columnrect_2column (input_control)  rectangle2.center.x(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Spaltenkoordinate des Mittelpunkts des zweiten Rechtecks.

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

Winkel zwischen der positiven horizontalen Achse und der ersten Kante des zweiten Rechtecks (im Bogenmaß).

Rect2Length1Rect2Length1Rect2Length1rect2Length1rect_2length_1 (input_control)  rectangle2.hwidth(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Halbe Länge der ersten Kante des zweiten Rechtecks.

Rect2Length2Rect2Length2Rect2Length2rect2Length2rect_2length_2 (input_control)  rectangle2.hheight(-array) HTupleMaybeSequence[Union[float, int]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)

Halbe Länge der zweiten Kante des zweiten Rechtecks.

AreaIntersectionAreaIntersectionAreaIntersectionareaIntersectionarea_intersection (output_control)  real(-array) HTupleSequence[float]HTupleHtuple (real) (double) (double) (double)

Schnittfläche zwischen dem ersten und dem zweiten Rechteck.

Ergebnis

area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2area_intersection_rectangle2 liefert den Wert 2 ( H_MSG_TRUE) .

Siehe auch

gen_rectangle2gen_rectangle2GenRectangle2GenRectangle2gen_rectangle2, intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsintersection_segments, intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineintersection_segment_line, intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldintersection_segment_contour_xld, intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldintersection_line_contour_xld, intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldintersection_contours_xld

Modul

Foundation