PostGIS
2.5.7dev-r@@SVN_REVISION@@
|
int lw_segment_intersects | ( | const POINT2D * | p1, |
const POINT2D * | p2, | ||
const POINT2D * | q1, | ||
const POINT2D * | q2 | ||
) |
returns the kind of CG_SEGMENT_INTERSECTION_TYPE behavior of lineseg 1 (constructed from p1 and p2) and lineseg 2 (constructed from q1 and q2)
p1 | start point of first straight linesegment |
p2 | end point of first straight linesegment |
q1 | start point of second line segment |
q2 | end point of second line segment |
Definition at line 372 of file lwalgorithm.c.
References lw_seg_interact(), lw_segment_side(), LWDEBUGF, SEG_COLINEAR, SEG_CROSS_LEFT, SEG_CROSS_RIGHT, SEG_ERROR, and SEG_NO_INTERSECTION.
Referenced by lwline_crossing_direction(), rect_leaf_node_intersects(), and test_lw_segment_intersects().