Hi, J,
Is there any method the find out the coordinates(x, y) of the intersection point of ray and polygon?
Please help me to get the coordinates.
Thanks in advance,
SS
The IntersectWith method returns an array of doubles representing a 3D point.
Hi, Ed,
Thanks for your kind response,
I am looking for the method to get the coordinates(x, y) of the multiple intersection with polygon using Ray,
in the situation that there are multiple circles located regularly with consistant distance within the irregular polygon,
I would like to get the coordinate of the intersection with polygon for each circle using Ray as shown in the drawing
attached.
I have the VBA code to get the coordinate of the intersection with polyline selecting ray and polyline each,
but not with polygon,
so, please help me with a sample VBA code so that I can get the distance from the circle to the intersection point
for the multiple case.
I appreciate your kind cooperations,
SS
That's not a polygon, it's a polyline. A polygon is a regular shape like a square or octagon, circumscribed about a circle. All the sides are equal.
The return for the IntersectWith method is an array of xyz coordinates. If it finds 5 intersections, then the array dimensions will by 0 to 14.
It is helpful if you post your code. I don't know what have so far.