I have a Polyline and a Point FeatureClass. I create a point feature on the Point layer for both the FromPoint and the ToPoint of the IPolyline5 similar to below:
Later, I then run both the from point and to point geometries through a method like the below to find all the intersecting polyline features from the polyline feature class.
At the very least, the intersect filter should find the polyline off which I got the 2 points. The strange thing is, it works for the FromPoint, but not with the ToPoint.
Both feature classes are using the same projection and Geographic Coordinate System and Projected Coordinate System.
I hope I am doing something stupid, but just can't figure out what.
Just one question, the polylines you used to create those fromPoint and ToPoint, are they from existing database, or you just created on the fly? are the tolerance for the two spatial reference the same?