Hi Robert,
Thanks for your quick response.
I want it to be done client side using the ArcGIS API for JavaScript.
The geometries came from a 2 query results and both are returning polyline as geometry. I am using GraphicsLayer to store the geometry of two different lines. Then using the geometryEngine.intersects() method to evaluate whether the 2 polylines intersects. When the method return true, I want to get the point (xy or LongLat) from the intersection to do another process.
In the image above is the result from a query which are stored in a GraphicsLayer. The Green Lines that are intersected by Blue Line visually. In the next image, I put Red Points. Those points are the one that I want to get from the intersection of the 2 lines.
I already tried the ArcGIS for Desktop Intersect Tool. That tool from the desktop is the one I want in my web base application. As I was exploring the ArcGIS API for JavaScript 3.17 , I came across the esri/geometry/geometryEngine | API Reference | ArcGIS API for JavaScript 3.17 and it has this method geometryEngine.intersect() (which is use to get the points of intersection) and geometryEngine.intersects() (use for determining whether the geometries intersects with each other). I also test the GeometryService | API Reference | ArcGIS API for JavaScript 3.17 but no luck.
I am frustrated because the geometryEngine class do not have a WORKING SAMPLE other than the geometryEngine.geodesicBuffer() method.
I hope you can help with this. Thank you.