Skip to content

test_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXldtest_self_intersection_xldtest_self_intersection_xld🔗

説明🔗

test_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXldtest_self_intersection_xldtest_self_intersection_xld — XLD オブジェクトもしくはポリゴンが自身と交差しているかを測定する。

書式🔗

test_self_intersection_xld( xld XLD, string CloseXLD, out number DoesIntersect )void TestSelfIntersectionXld( const HObject& XLD, const HTuple& CloseXLD, HTuple* DoesIntersect )static void HOperatorSet.TestSelfIntersectionXld( HObject XLD, HTuple closeXLD, out HTuple doesIntersect )def test_self_intersection_xld( xld: HObject, close_xld: str ) -> Sequence[int]

def test_self_intersection_xld_s( xld: HObject, close_xld: str ) -> intHerror test_self_intersection_xld( const Hobject XLD, const char* CloseXLD, Hlong* DoesIntersect )

Herror T_test_self_intersection_xld( const Hobject XLD, const Htuple CloseXLD, Htuple* DoesIntersect )

HTuple HXLD::TestSelfIntersectionXld( const HString& CloseXLD ) const

HTuple HXLD::TestSelfIntersectionXld( const char* CloseXLD ) const

HTuple HXLD::TestSelfIntersectionXld( const wchar_t* CloseXLD ) const (Windows only)

HTuple HXLD.TestSelfIntersectionXld( string closeXLD )

説明🔗

test_self_intersection_xldTestSelfIntersectionXld は、XLDXLDxld で入力 XLDXLDxld オブジェクトもしくはポリゴンが自身と交差しているか、 あるいは接触しているかどうか測定します。 対応する入力 XLD オブジェクトまたはポリゴンが自身と交差しているか 接触しているならば、出力配列 DoesIntersectdoesIntersectdoes_intersect は、 11 を返します。交差していない場合には 00 を返します。

入力パラメーター CloseXLDcloseXLDclose_xld に 'true'"true" を設定する と、閉じていない XLD オブジェクトもしくはポリゴンは、チェックが行 われる前に、単純に始点と終点を結ぶ形で閉じられます。

注意🔗

XLD オブジェクトもしくはポリゴン点が、XLD オブジェクトもしくはポリ ゴン上にある場合、XLD オブジェクトもしくはポリゴン自身が接触してい ます。しかし、XLD オブジェクトもしくはポリゴンの上にデータ点がある かどうかは、数的な要因のために、実際には測定することができません。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: グローバル(他のスレッドから呼び出される可能性あり)

  • tupleレベルで自動的に並列演算処理を実施

パラメーター🔗

XLDXLDxld (input_object) xld(-array) → objectHObjectHXLDHObjectHobject

入力 XLD オブジェクトもしくはポリゴン

CloseXLDcloseXLDclose_xld (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

入力 XLD オブジェクトもしくはポリゴンが最初に 閉じられるかどうか

初期値: 'true'"true"
値のリスト: 'false', 'true'"false", "true"

DoesIntersectdoesIntersectdoes_intersect (output_control) number(-array) → (integer)HTuple (Hlong)HTuple (int / long)Sequence[int]Htuple (Hlong)

XLD オブジェクトもしくはポリゴン自身が 交差している場合は 1、それ以外は 0

モジュール🔗

Foundation