Name
intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLine — Calculate the intersection point of a segment and a line
Herror intersection_segment_line(double SegmentRow1, double SegmentColumn1, double SegmentRow2, double SegmentColumn2, double LineRow1, double LineColumn1, double LineRow2, double LineColumn2, double* Row, double* Column, Hlong* IsOverlapping)
Herror T_intersection_segment_line(const Htuple SegmentRow1, const Htuple SegmentColumn1, const Htuple SegmentRow2, const Htuple SegmentColumn2, const Htuple LineRow1, const Htuple LineColumn1, const Htuple LineRow2, const Htuple LineColumn2, Htuple* Row, Htuple* Column, Htuple* IsOverlapping)
void IntersectionSegmentLine(const HTuple& SegmentRow1, const HTuple& SegmentColumn1, const HTuple& SegmentRow2, const HTuple& SegmentColumn2, const HTuple& LineRow1, const HTuple& LineColumn1, const HTuple& LineRow2, const HTuple& LineColumn2, HTuple* Row, HTuple* Column, HTuple* IsOverlapping)
static void HOperatorSet.IntersectionSegmentLine(HTuple segmentRow1, HTuple segmentColumn1, HTuple segmentRow2, HTuple segmentColumn2, HTuple lineRow1, HTuple lineColumn1, HTuple lineRow2, HTuple lineColumn2, out HTuple row, out HTuple column, out HTuple isOverlapping)
intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLine calculates the intersection point of a
segment and a line. The segment is defined by its endpoints
(SegmentRow1SegmentRow1SegmentRow1SegmentRow1segmentRow1,SegmentColumn1SegmentColumn1SegmentColumn1SegmentColumn1segmentColumn1) and
(SegmentRow2SegmentRow2SegmentRow2SegmentRow2segmentRow2,SegmentColumn2SegmentColumn2SegmentColumn2SegmentColumn2segmentColumn2). The line is defined by
the two points (LineRow1LineRow1LineRow1LineRow1lineRow1,LineColumn1LineColumn1LineColumn1LineColumn1lineColumn1) and
(LineRow2LineRow2LineRow2LineRow2lineRow2,LineColumn2LineColumn2LineColumn2LineColumn2lineColumn2).
The intersection point, if it exists, is returned in
(RowRowRowRowrow,ColumnColumnColumnColumncolumn).
If the segment and the line have a part in common, IsOverlappingIsOverlappingIsOverlappingIsOverlappingisOverlapping
returns the value 1, otherwise 0 is returned.
In this case the endpoints of the mutual
segment are returned in (RowRowRowRowrow,ColumnColumnColumnColumncolumn).
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Row coordinate of the first point of the segment.
Column coordinate of the first point of the segment.
Row coordinate of the second point of the segment.
Column coordinate of the second point of the segment.
Row coordinate of the first point of the line.
Column coordinate of the first point of the line.
Row coordinate of the second point of the line.
Column coordinate of the second point of the line.
Row coordinate of the intersection point.
Column coordinate of the intersection point.
Do the segment and the line have a part in common?
If the parameters are valid, the operator intersection_segment_lineintersection_segment_lineIntersectionSegmentLineIntersectionSegmentLineIntersectionSegmentLine
returns the value 2 (H_MSG_TRUE).
intersection_line_contour_xldintersection_line_contour_xldIntersectionLineContourXldIntersectionLineContourXldIntersectionLineContourXld
intersection_segmentsintersection_segmentsIntersectionSegmentsIntersectionSegmentsIntersectionSegments,
intersection_linesintersection_linesIntersectionLinesIntersectionLinesIntersectionLines,
intersection_segment_contour_xldintersection_segment_contour_xldIntersectionSegmentContourXldIntersectionSegmentContourXldIntersectionSegmentContourXld,
intersection_contours_xldintersection_contours_xldIntersectionContoursXldIntersectionContoursXldIntersectionContoursXld
Foundation