Purpose
Calculates the set of points at which two objects intersect, and returns a polyline object that contains each of the points of intersection. You can call this function from the MapBasic window in MapInfo Pro.
Syntax
IntersectNodes( object1, object2, points_to_include )
object1 and object2 are object expressions; may not be point or text objects.
points_to_include is a SmallInt (ID) value, see table below.
Return Value
A polyline object that contains the specified points of intersection.
Description
The IntersectNodes() function returns a polyline object that contains all nodes at which two objects intersect. There are several attributes that IntersectNodes() can return. Codes are defined in MAPBASIC.DEF.
Attribute setting | ID | IntersectNodes() Return Value |
---|---|---|
INCL_CROSSINGS | 1 | Returns points where segments cross. |
INCL_COMMON | 6 | Returns end-points of segments that overlap. |
INCL_ALL | 7 | Returns points where segments cross and points where segments overlap. |