area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2 (Operator)
Name
area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2
— Berechnen der Schnittfläche von zwei orientierten Rechtecken.
Signatur
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)
Beschreibung
area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2
berechnet die Schnittfläche von zwei
orientierten Rechtecken (d.h. vom Typ Rectangle2), welche jeweils durch
ihre Parameter (Schwerpunkt (Rect1RowRect1RowRect1RowRect1Rowrect1Row
, Rect1ColumnRect1ColumnRect1ColumnRect1Columnrect1Column
),
Orientierung Rect1PhiRect1PhiRect1PhiRect1Phirect1Phi
sowie die halben Kantenlängen
Rect1Length1Rect1Length1Rect1Length1Rect1Length1rect1Length1
und Rect1Length2Rect1Length2Rect1Length2Rect1Length2rect1Length2
),
respektive (Schwerpunkt (Rect2RowRect2RowRect2RowRect2Rowrect2Row
, Rect2ColumnRect2ColumnRect2ColumnRect2Columnrect2Column
),
Orientierung Rect2PhiRect2PhiRect2PhiRect2Phirect2Phi
, sowie die halben Kantenlängen
Rect2Length1Rect2Length1Rect2Length1Rect2Length1rect2Length1
und Rect2Length2Rect2Length2Rect2Length2Rect2Length2rect2Length2
), definiert sind.
Die Schnittfläche wird in AreaIntersectionAreaIntersectionAreaIntersectionAreaIntersectionareaIntersection
zurückgegeben.
Wenn mehrere Werte für die Parameter des zweiten Rechtecks übergeben werden,
werden die Schnittflächen des ersten Rechtecks mit allen gegebenen zweiten
Rechtecken berechnet und zurückgegeben. Wenn leere Tupel für die Parameter
des zweiten Rechtecks übergeben werden, wird ein leeres Tupel in
AreaIntersectionAreaIntersectionAreaIntersectionAreaIntersectionareaIntersection
zurückgegeben.
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
Rect1RowRect1RowRect1RowRect1Rowrect1Row
(input_control) rectangle2.center.y →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des Mittelpunkts des ersten Rechtecks.
Rect1ColumnRect1ColumnRect1ColumnRect1Columnrect1Column
(input_control) rectangle2.center.x →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des Mittelpunkts des ersten Rechtecks.
Rect1PhiRect1PhiRect1PhiRect1Phirect1Phi
(input_control) rectangle2.angle.rad →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Winkel zwischen der positiven horizontalen Achse und der
ersten Kante des ersten Rechtecks (im Bogenmaß).
Rect1Length1Rect1Length1Rect1Length1Rect1Length1rect1Length1
(input_control) rectangle2.hwidth →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Halbe Länge der ersten Kante des ersten Rechtecks.
Rect1Length2Rect1Length2Rect1Length2Rect1Length2rect1Length2
(input_control) rectangle2.hheight →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Halbe Länge der zweiten Achse des ersten Rechtecks.
Rect2RowRect2RowRect2RowRect2Rowrect2Row
(input_control) rectangle2.center.y(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Zeilenkoordinate des Mittelpunkts des zweiten Rechtecks.
Rect2ColumnRect2ColumnRect2ColumnRect2Columnrect2Column
(input_control) rectangle2.center.x(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Spaltenkoordinate des Mittelpunkts des zweiten Rechtecks.
Rect2PhiRect2PhiRect2PhiRect2Phirect2Phi
(input_control) rectangle2.angle.rad(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Winkel zwischen der positiven horizontalen Achse und der
ersten Kante des zweiten Rechtecks (im Bogenmaß).
Rect2Length1Rect2Length1Rect2Length1Rect2Length1rect2Length1
(input_control) rectangle2.hwidth(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Halbe Länge der ersten Kante des zweiten Rechtecks.
Rect2Length2Rect2Length2Rect2Length2Rect2Length2rect2Length2
(input_control) rectangle2.hheight(-array) →
HTupleHTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Halbe Länge der zweiten Kante des zweiten Rechtecks.
AreaIntersectionAreaIntersectionAreaIntersectionAreaIntersectionareaIntersection
(output_control) real(-array) →
HTupleHTupleHtuple (real) (double) (double) (double)
Schnittfläche zwischen dem ersten und dem zweiten
Rechteck.
Ergebnis
area_intersection_rectangle2area_intersection_rectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2AreaIntersectionRectangle2
liefert den Wert 2 (H_MSG_TRUE).
Siehe auch
gen_rectangle2gen_rectangle2GenRectangle2GenRectangle2GenRectangle2
,
intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsIntersectionSegments
,
intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLine
,
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXld
,
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXld
,
intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldIntersectionContoursXld
Modul
Foundation