ClassesClassesClassesClasses | | | | Operators

intersection_contours_xldintersection_contours_xldIntersectionContoursXldintersection_contours_xldIntersectionContoursXldIntersectionContoursXld (Operator)

Name

intersection_contours_xldintersection_contours_xldIntersectionContoursXldintersection_contours_xldIntersectionContoursXldIntersectionContoursXld — Calculate the intersection points of two XLD contours

Signature

intersection_contours_xld(Contour1, Contour2 : : IntersectionType : Row, Column, IsOverlapping)

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)

Herror intersection_contours_xld(Hobject Contour1, Hobject Contour2, const HTuple& IntersectionType, double* Row, double* Column, Hlong* IsOverlapping)

Herror intersection_contours_xld(Hobject Contour1, Hobject Contour2, const HTuple& IntersectionType, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)

void IntersectionContoursXld(const HObject& Contour1, const HObject& Contour2, const HTuple& IntersectionType, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)

void HOperatorSetX.IntersectionContoursXld(
[in] IHUntypedObjectX* Contour1, [in] IHUntypedObjectX* Contour2, [in] VARIANT IntersectionType, [out] VARIANT* Row, [out] VARIANT* Column, [out] VARIANT* IsOverlapping)

static void HOperatorSet.IntersectionContoursXld(HObject contour1, HObject contour2, HTuple intersectionType, out HTuple row, out HTuple column, out HTuple isOverlapping)

Description

intersection_contours_xldintersection_contours_xldIntersectionContoursXldintersection_contours_xldIntersectionContoursXldIntersectionContoursXld calculates the intersection points of the XLD Contour1Contour1Contour1Contour1Contour1contour1 and XLD Contour2Contour2Contour2Contour2Contour2contour2 which, if any, are returned in (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn). The value in IntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeintersectionType defines the way to calculate the intersections points. By setting IntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeintersectionType = 'self'"self""self""self""self""self", only the self intersections within both contours are returned, i.e., the intersections within Contour1Contour1Contour1Contour1Contour1contour1 and XLD Contour2Contour2Contour2Contour2Contour2contour2. For IntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeintersectionType = 'mutual'"mutual""mutual""mutual""mutual""mutual", only the intersections between both contours are taken into account. The default value is IntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeintersectionType = 'all'"all""all""all""all""all". In this case both, the self and the mutual intersections are returned in RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn). If parts of the contours overlap in more than one point IsOverlappingIsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping returns the value 1, otherwise 0 is returned. IsOverlappingIsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping is set with regard to both the self and mutual overlap, regardless of the setting in IntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeIntersectionTypeintersectionType. In case of a mutual overlap, the endpoints of the mutual segment are returned in (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn).

Parallelization

Parameters

Contour1Contour1Contour1Contour1Contour1contour1 (input_object)  xld_cont objectHXLDContHXLDContHXLDContHXLDContXHobject

First XLD contour.

Contour2Contour2Contour2Contour2Contour2contour2 (input_object)  xld_cont objectHXLDContHXLDContHXLDContHXLDContXHobject

Second XLD contour.

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

Intersection points to be returned.

Default value: 'all' "all" "all" "all" "all" "all"

List of values: 'all'"all""all""all""all""all", 'mutual'"mutual""mutual""mutual""mutual""mutual", 'self'"self""self""self""self""self"

RowRowRowRowRowrow (output_control)  point.y(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Row coordinates of the intersection points.

ColumnColumnColumnColumnColumncolumn (output_control)  point.x(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Column coordinates of the intersection points.

IsOverlappingIsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Does a part of a contour lies above another contour part?

Result

If the parameters are valid, the operator intersection_contours_xldintersection_contours_xldIntersectionContoursXldintersection_contours_xldIntersectionContoursXldIntersectionContoursXld returns the value 2 (H_MSG_TRUE).

Alternatives

intersection_segmentsintersection_segmentsIntersectionSegmentsintersection_segmentsIntersectionSegmentsIntersectionSegments, intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld

See also

intersection_segment_lineintersection_segment_lineIntersectionSegmentLineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLine, intersection_linesintersection_linesIntersectionLinesintersection_linesIntersectionLinesIntersectionLines, intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXld

Module

Foundation


ClassesClassesClassesClasses | | | | Operators