PostGIS
3.7.0dev-r@@SVN_REVISION@@
|
uint32_t edge_intersects | ( | const POINT3D * | A1, |
const POINT3D * | A2, | ||
const POINT3D * | B1, | ||
const POINT3D * | B2 | ||
) |
Returns non-zero if edges A and B interact.
The type of interaction is given in the return value with the bitmask elements defined above.
Definition at line 3389 of file lwgeodetic.c.
References dot_product(), dot_product_side(), PIR_A_TOUCH_LEFT, PIR_A_TOUCH_RIGHT, PIR_B_TOUCH_LEFT, PIR_B_TOUCH_RIGHT, PIR_COLINEAR, PIR_INTERSECTS, PIR_NO_INTERACT, point_in_cone(), unit_normal(), and vector_scale().
Referenced by circ_tree_contains_point(), circ_tree_distance_tree_internal(), lwpoly_intersects_line(), ptarray_contains_point_sphere(), ptarray_distance_spheroid(), and test_edge_intersects().