ClassesClassesClassesClasses | | | | Operators

test_closed_xldtest_closed_xldTestClosedXldtest_closed_xldTestClosedXldTestClosedXld (Operator)

Name

test_closed_xldtest_closed_xldTestClosedXldtest_closed_xldTestClosedXldTestClosedXld — Test whether contours or polygons are closed.

Signature

test_closed_xld(XLD : : : IsClosed)

Herror test_closed_xld(const Hobject XLD, Hlong* IsClosed)

Herror T_test_closed_xld(const Hobject XLD, Htuple* IsClosed)

Herror test_closed_xld(Hobject XLD, Hlong* IsClosed)

Herror test_closed_xld(Hobject XLD, HTuple* IsClosed)

Hlong HXLD::TestClosedXld() const

HTuple HXLDArray::TestClosedXld() const

void TestClosedXld(const HObject& XLD, HTuple* IsClosed)

HTuple HXLD::TestClosedXld() const

void HOperatorSetX.TestClosedXld(
[in] IHUntypedObjectX* XLD, [out] VARIANT* IsClosed)

VARIANT HXLDX.TestClosedXld()

VARIANT HXLDContX.TestClosedXld()

VARIANT HXLDPolyX.TestClosedXld()

VARIANT HXLDParaX.TestClosedXld()

VARIANT HXLDModParaX.TestClosedXld()

VARIANT HXLDExtParaX.TestClosedXld()

static void HOperatorSet.TestClosedXld(HObject XLD, out HTuple isClosed)

HTuple HXLD.TestClosedXld()

Description

test_closed_xldtest_closed_xldTestClosedXldtest_closed_xldTestClosedXldTestClosedXld tests each contour or polygon in XLDXLDXLDXLDXLDXLD, whether it is closed and returns the result in IsClosedIsClosedIsClosedIsClosedIsClosedisClosed. If the contour contour or polygon is closed, the respective return value is 1, otherwise 0. A contour or polygon is closed, if its last point is equal to its first point.

Parallelization

Parameters

XLDXLDXLDXLDXLDXLD (input_object)  xld(-array) objectHXLDHXLDHXLDHXLDXHobject

Contours or polygons to be tested.

IsClosedIsClosedIsClosedIsClosedIsClosedisClosed (output_control)  integer(-array) HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Tuple with boolean numbers.

Possible Predecessors

gen_contour_region_xldgen_contour_region_xldGenContourRegionXldgen_contour_region_xldGenContourRegionXldGenContourRegionXld, edges_sub_pixedges_sub_pixEdgesSubPixedges_sub_pixEdgesSubPixEdgesSubPix

Module

Foundation


ClassesClassesClassesClasses | | | | Operators