ClassesClassesClassesClasses | | | | Operators

intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld (Operator)

Name

intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld — Calculate the intersection points of a segment and an XLD contour

Signature

intersection_segment_contour_xld(Contour : : SegmentRow1, SegmentColumn1, SegmentRow2, SegmentColumn2 : Row, Column, IsOverlapping)

Herror intersection_segment_contour_xld(const Hobject Contour, double SegmentRow1, double SegmentColumn1, double SegmentRow2, double SegmentColumn2, double* Row, double* Column, Hlong* IsOverlapping)

Herror T_intersection_segment_contour_xld(const Hobject Contour, const Htuple SegmentRow1, const Htuple SegmentColumn1, const Htuple SegmentRow2, const Htuple SegmentColumn2, Htuple* Row, Htuple* Column, Htuple* IsOverlapping)

Herror intersection_segment_contour_xld(Hobject Contour, const HTuple& SegmentRow1, const HTuple& SegmentColumn1, const HTuple& SegmentRow2, const HTuple& SegmentColumn2, double* Row, double* Column, Hlong* IsOverlapping)

Herror intersection_segment_contour_xld(Hobject Contour, const HTuple& SegmentRow1, const HTuple& SegmentColumn1, const HTuple& SegmentRow2, const HTuple& SegmentColumn2, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)

void IntersectionSegmentContourXld(const HObject& Contour, const HTuple& SegmentRow1, const HTuple& SegmentColumn1, const HTuple& SegmentRow2, const HTuple& SegmentColumn2, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)

void HOperatorSetX.IntersectionSegmentContourXld(
[in] IHUntypedObjectX* Contour, [in] VARIANT SegmentRow1, [in] VARIANT SegmentColumn1, [in] VARIANT SegmentRow2, [in] VARIANT SegmentColumn2, [out] VARIANT* Row, [out] VARIANT* Column, [out] VARIANT* IsOverlapping)

static void HOperatorSet.IntersectionSegmentContourXld(HObject contour, HTuple segmentRow1, HTuple segmentColumn1, HTuple segmentRow2, HTuple segmentColumn2, out HTuple row, out HTuple column, out HTuple isOverlapping)

Description

intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXld calculates the intersection points of a segment and an XLD ContourContourContourContourContourcontour. The segment is defined by its endpoints (SegmentRow1SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1,SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1) and (SegmentRow2SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2,SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2). The intersection points, if any, are returned in (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn). If the segment and the XLD contour have a part in common IsOverlappingIsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping returns the value 1, otherwise 0 is returned. In this case the endpoints of the mutual segment are returned in (RowRowRowRowRowrow,ColumnColumnColumnColumnColumncolumn).

Parallelization

Parameters

ContourContourContourContourContourcontour (input_object)  xld_cont objectHXLDContHXLDContHXLDContHXLDContXHobject

XLD contour.

SegmentRow1SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1 (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Row coordinate of the first point of the segment.

SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1 (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Column coordinate of the first point of the segment.

SegmentRow2SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2 (input_control)  point.y HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Row coordinate of the second point of the segment.

SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2 (input_control)  point.x HTupleHTupleHTupleVARIANTHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong) (double / Hlong) (double / Hlong)

Column coordinate of the second point of the segment.

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)

Do the segment and the XLD contour have a part in common?

Result

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

Alternatives

intersection_segmentsintersection_segmentsIntersectionSegmentsintersection_segmentsIntersectionSegmentsIntersectionSegments, intersection_contours_xldintersection_contours_xldIntersectionContoursXldintersection_contours_xldIntersectionContoursXldIntersectionContoursXld

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