topic How do I find if a line intersects a closed line (polygon)? in ArcObjects SDK Questions
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759663#M20133
<HTML><HEAD></HEAD><BODY><SPAN>I have one closed Polyline: "rectangle" and an open Polyline: "line".</SPAN><BR /><SPAN>Both Polylines may be Z aware.</SPAN><BR /><SPAN>What is the best way to find if the "line" intersects the "rectangle" in the XY plane?</SPAN><BR /><SPAN>That is I want a 2D (XY) test for intersection. I do not need the actual coordinates of any intersection(s).</SPAN></BODY></HTML>Fri, 24 Jan 2014 13:04:07 GMTAndreas_W_Paulsen2014-01-24T13:04:07ZHow do I find if a line intersects a closed line (polygon)?
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759663#M20133
<HTML><HEAD></HEAD><BODY><SPAN>I have one closed Polyline: "rectangle" and an open Polyline: "line".</SPAN><BR /><SPAN>Both Polylines may be Z aware.</SPAN><BR /><SPAN>What is the best way to find if the "line" intersects the "rectangle" in the XY plane?</SPAN><BR /><SPAN>That is I want a 2D (XY) test for intersection. I do not need the actual coordinates of any intersection(s).</SPAN></BODY></HTML>Fri, 24 Jan 2014 13:04:07 GMThttps://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759663#M20133Andreas_W_Paulsen2014-01-24T13:04:07ZRe: How do I find if a line intersects a closed line (polygon)?
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759664#M20134
<HTML><HEAD></HEAD><BODY><SPAN>ITopologicalOperator</SPAN></BODY></HTML>Fri, 24 Jan 2014 13:16:56 GMThttps://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759664#M20134LeoDonahue2014-01-24T13:16:56ZRe: How do I find if a line intersects a closed line (polygon)?
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759665#M20135
<HTML><HEAD></HEAD><BODY><BLOCKQUOTE class="jive-quote">ITopologicalOperator</BLOCKQUOTE><BR /><SPAN>Call the Intersect method with esriGeometry0Dimension?</SPAN><BR /><SPAN>Does this take care of the 2D part of the intersection or do I have to strip away any z information first by copying the x and y value of the points?</SPAN></BODY></HTML>Fri, 24 Jan 2014 13:20:46 GMThttps://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759665#M20135Andreas_W_Paulsen2014-01-24T13:20:46ZRe: How do I find if a line intersects a closed line (polygon)?
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759666#M20136
<HTML><HEAD></HEAD><BODY><SPAN>From the docs:</SPAN><BR /><BLOCKQUOTE class="jive-quote"> If the Geometry includes z or m values, the z or m domains, z or m resolutions, and z or m cluster tolerance properties must also be defined. The cluster tolerance and resolutions can be quickly and easily set using SetDefault methods on ISpatialReferenceResolution and ISpatialReferenceTolerance interfaces. </BLOCKQUOTE></BODY></HTML>Fri, 24 Jan 2014 13:42:10 GMThttps://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759666#M20136LeoDonahue2014-01-24T13:42:10ZRe: How do I find if a line intersects a closed line (polygon)?
https://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759667#M20137
<HTML><HEAD></HEAD><BODY><SPAN>If you do not need the actual coordinates of any intersection(s) as you said, you can also use IRelationalOperator methods to test the spatial relation between geometries.</SPAN></BODY></HTML>Fri, 24 Jan 2014 21:33:18 GMThttps://community.esri.com/t5/arcobjects-sdk-questions/how-do-i-find-if-a-line-intersects-a-closed-line-polygon/m-p/759667#M20137WeifengHe2014-01-24T21:33:18Z