ClassesClassesClassesClasses | | | | Operators

test_self_intersection_xldtest_self_intersection_xldTestSelfIntersectionXldtest_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXld (Operator)

Name

test_self_intersection_xldtest_self_intersection_xldTestSelfIntersectionXldtest_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXld — Test XLD contours or polygons for self intersection.

Signature

test_self_intersection_xld(XLD : : CloseXLD : DoesIntersect)

Herror 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)

Herror test_self_intersection_xld(Hobject XLD, const HTuple& CloseXLD, Hlong* DoesIntersect)

Herror test_self_intersection_xld(Hobject XLD, const HTuple& CloseXLD, HTuple* DoesIntersect)

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

HTuple HXLDArray::TestSelfIntersectionXld(const HTuple& CloseXLD) const

void TestSelfIntersectionXld(const HObject& XLD, const HTuple& CloseXLD, HTuple* DoesIntersect)

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

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

void HOperatorSetX.TestSelfIntersectionXld(
[in] IHUntypedObjectX* XLD, [in] VARIANT CloseXLD, [out] VARIANT* DoesIntersect)

VARIANT HXLDX.TestSelfIntersectionXld([in] BSTR CloseXLD)

VARIANT HXLDContX.TestSelfIntersectionXld([in] BSTR CloseXLD)

VARIANT HXLDPolyX.TestSelfIntersectionXld([in] BSTR CloseXLD)

VARIANT HXLDParaX.TestSelfIntersectionXld([in] BSTR CloseXLD)

VARIANT HXLDModParaX.TestSelfIntersectionXld([in] BSTR CloseXLD)

VARIANT HXLDExtParaX.TestSelfIntersectionXld([in] BSTR CloseXLD)

static void HOperatorSet.TestSelfIntersectionXld(HObject XLD, HTuple closeXLD, out HTuple doesIntersect)

HTuple HXLD.TestSelfIntersectionXld(string closeXLD)

Description

test_self_intersection_xldtest_self_intersection_xldTestSelfIntersectionXldtest_self_intersection_xldTestSelfIntersectionXldTestSelfIntersectionXld tests whether the input contours or polygons in XLDXLDXLDXLDXLDXLD intersect or touch themselves. The output array DoesIntersectDoesIntersectDoesIntersectDoesIntersectDoesIntersectdoesIntersect contains a 1 if the corresponding input contour or polygon intersects or touches itself and 0 otherwise.

If the input parameter CloseXLDCloseXLDCloseXLDCloseXLDCloseXLDcloseXLD is set to 'true'"true""true""true""true""true", open contours or polygons are closed before the check is performed by simply connecting the first and the last contour or polygon point with a line segment.

Attention

A contour or polygon touches itself if a contour or polygon point lies exactly on a contour or polygon segment. However, whether a point lies exactly on a contour or polygon segment or not can practically not be decided because of numerical reasons.

Parallelization

Parameters

XLDXLDXLDXLDXLDXLD (input_object)  xld(-array) objectHXLDHXLDHXLDHXLDXHobject

Input contours or polygons.

CloseXLDCloseXLDCloseXLDCloseXLDCloseXLDcloseXLD (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Should the input contours or polygons be closed first?

Default value: 'true' "true" "true" "true" "true" "true"

List of values: 'false'"false""false""false""false""false", 'true'"true""true""true""true""true"

DoesIntersectDoesIntersectDoesIntersectDoesIntersectDoesIntersectdoesIntersect (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

1 for contours or polygons with self intersection and 0 otherwise.

Module

Foundation


ClassesClassesClassesClasses | | | | Operators