coordinate(s) of intersection of two polylines

732
2
Jump to solution
07-13-2019 02:20 PM
behrozbehnam
New Contributor II

How to get the coordinate(s) of intersection of two polylines in ArcGIS Pro SDK?

In ArcObjects I can use ITopologicalOperator5 interface to create the points(intersect member). Is there anything like that in ArcGIS pro SDK?

0 Kudos
1 Solution

Accepted Solutions
behrozbehnam
New Contributor II

Below can find intersection points(Found it in ProSnippets Geometry)

Geometry g = GeometryEngine.Instance.Intersection(line1, line2, GeometryDimension.esriGeometry0Dimension);

Multipoint resultMultipoint = g as Multipoint;

View solution in original post

0 Kudos
2 Replies
behrozbehnam
New Contributor II

Below can find intersection points(Found it in ProSnippets Geometry)

Geometry g = GeometryEngine.Instance.Intersection(line1, line2, GeometryDimension.esriGeometry0Dimension);

Multipoint resultMultipoint = g as Multipoint;

0 Kudos
MatthiasBoucher
New Contributor II

Hello. I have a question similar to the original one : is there a way with the ArcGIS Pro SDK to find if a polyline is self-intersecting, and get the self-intersection points ?

0 Kudos