## SharesALineSegmentWith

**Syntax**

SharesALineSegmentWith(MapWinGeoProc.Topology2D.Segment Seg)

**Summary**

Since these are already segments, we just determine if the intersection is a valid line segment. If the segments intersect as a point, or don't intersect, this will return false.

**Parameters**

Seg |
Topology2D.Segment to compare with. |

**Returns**

Boolean, true if the two lines intersect in a segment.

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back
to Segment