Intersection point of two polyline [vba]

389
1
01-18-2012 11:44 PM
RobertoSpedale
New Contributor
hi
How could I know coords of intersection point of two polyline?
I have two polyline feature and I would know what is the intesection point.
many thanks
Roberto
0 Kudos
1 Reply
RobertoSpedale
New Contributor
I solved using ITopologicalOperator:

Dim pGeom As IGeometry
Dim pTopo As ITopologicalOperator
Set pTopo = plyne1
Set pGeom = pTopo.Intersect(plyne2, esriGeometry0Dimension)

Dim ppoints As IPointCollection
Dim ppoint As IPoint

Set ppoints = pGeom
Set ppoint = ppoints.Point(0)
0 Kudos