My work flow is as follows:
- I extract the start and end point geometries from two polylines using the .firstPoint and .lastPoint properties of the ArcPy Geometry class.
- Then I compare these points (which should be snapped at one end) with each other using the .equals method in the ArcPy Geometry class, to try to determine which end of the lines are connected to one another.
- This works in most cases, but ocassionally fails to find a match.
My question is: what can I expect from using the .equals method, i.e. does attempt to handle floating point precision, or should I adopt an alternative approach?