intersection_contours_xldIntersectionContoursXldIntersectionContoursXldintersection_contours_xldintersection_contours_xld
説明
intersection_contours_xldIntersectionContoursXldIntersectionContoursXldintersection_contours_xldintersection_contours_xld — 2 つの XLD オブジェクトの交点を計算する。
書式
intersection_contours_xld( xld_cont Contour1, xld_cont Contour2, string IntersectionType, out point.y Row, out point.x Column, out integer IsOverlapping )void IntersectionContoursXld( const HObject& Contour1, const HObject& Contour2, const HTuple& IntersectionType, HTuple* Row, HTuple* Column, HTuple* IsOverlapping )static void HOperatorSet.IntersectionContoursXld( HObject contour1, HObject contour2, HTuple intersectionType, out HTuple row, out HTuple column, out HTuple isOverlapping )def intersection_contours_xld( contour_1: HObject, contour_2: HObject, intersection_type: str ) -> Tuple[Sequence[float], Sequence[float], int]
def intersection_contours_xld_s( contour_1: HObject, contour_2: HObject, intersection_type: str ) -> Tuple[float, float, int]Herror intersection_contours_xld( const Hobject Contour1, const Hobject Contour2, const char* IntersectionType, double* Row, double* Column, Hlong* IsOverlapping )
Herror T_intersection_contours_xld( const Hobject Contour1, const Hobject Contour2, const Htuple IntersectionType, Htuple* Row, Htuple* Column, Htuple* IsOverlapping )
説明
intersection_contours_xldIntersectionContoursXld は、XLD Contour1contour1contour_1 と
XLD Contour2contour2contour_2 の交点を計算します。交点がある場合は、
(Rowrowrow,Columncolumncolumn) に返されます。
IntersectionTypeintersectionTypeintersection_type の値は、交点を計算する方法を
定義します。
IntersectionTypeintersectionTypeintersection_type = 'self'"self" の場合は、それぞれの
オブジェクト内の自己交差のみが返されます(すなわち、
XLD Contour1contour1contour_1 および XLD Contour2contour2contour_2 内の交差)。
IntersectionTypeintersectionTypeintersection_type = 'mutual'"mutual" の場合は、2つの
オブジェクト間の交差のみが考慮されます。デフォルト値は
IntersectionTypeintersectionTypeintersection_type = 'all'"all" です。この場合は、
自己交差と相互交差の両方が Rowrowrow,Columncolumncolumn) に返されます。
2 つのオブジェクトの一部が 2 点以上で重なる場合は
IsOverlappingisOverlappingis_overlapping が値 1 を返し、そうでない場合は 0 が返されます。
その場合は、共通部分の端点が
(Rowrowrow,Columncolumncolumn) に返されます。
実行情報
実行情報
パラメーター
Contour1contour1contour_1 (input_object) xld_cont → objectHObjectHXLDContHObjectHobject
第1XLD オブジェクト
Contour2contour2contour_2 (input_object) xld_cont → objectHObjectHXLDContHObjectHobject
第2XLD オブジェクト
IntersectionTypeintersectionTypeintersection_type (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)
返される交点の種類
初期値: 'all'"all"
値のリスト: 'all', 'mutual', 'self'"all", "mutual", "self"
Rowrowrow (output_control) point.y(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)
交点の行座標
Columncolumncolumn (output_control) point.x(-array) → (real)HTuple (double)HTuple (double)Sequence[float]Htuple (double)
交点の列座標
IsOverlappingisOverlappingis_overlapping (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)
一方の XLD の一部がもう一方の XLD の上にあるかどうか
結果
パラメーターが有効ならば、オペレーター
intersection_contours_xldIntersectionContoursXld は、値 2 (H_MSG_TRUE) を返します。
他のオペレーターとの組み合わせ
組み合わせ
他の選択候補
intersection_segmentsIntersectionSegments, intersection_segment_contour_xldIntersectionSegmentContourXld
関連項目
intersection_segment_lineIntersectionSegmentLine, intersection_linesIntersectionLines, intersection_line_contour_xldIntersectionLineContourXld
モジュール
Foundation