priyanka_mehta Posted April 15, 2009 Share Posted April 15, 2009 Hi All, I have created a circle. This circle might intersect with surrounding polylines. I need to know if the circle is intersecting with any polyline and if yes then the count of polyline it intersects with. I tried using : intpoints = entPoly.IntersectWith(circleObj, acExtendNone) but this gives me the coordinates at intersecting points. I m basically having problem with finding out the count of polylines intersecting with circle. Thanks and Regards, Priyanka Quote Link to comment Share on other sites More sharing options...
SEANT Posted April 16, 2009 Share Posted April 16, 2009 Another method may be via: SelectionSet.SelectByPolygon acSelectionSetCrossingPolygon, PointsList, FilterType, FilterData Where pointList describes an arbitrarily precise “faceted” circle. The points could be generated with successive calls to: ThisDrawing.Utility.PolarPoint(CircleCentert, angle, CircleRadius) Where angle is determined by 2PI/#ofFacets Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.