|
发表于 2022-7-6 14:04:38
|
显示全部楼层
I don’t think there is any direct method call. The only option may be a systematic (For Each) testing all the other lines (hopefully a highly filtered selection set for speed of processing) in the drawing for an intersection (IntersectWith) with the poly in question.
If an intersection is found, the routine would then have to test if the line is perpendicular to that segment of the poly (Vector2d.IsPerpendicularTo and/or, if the pertinent poly section is an arc, Curve.GetFirstDerivative perhaps). If so, add the Point3D returned by IntersectWith to a Point3dCollection.
All in all not the toughest of tasks; would probably take a bit of time to debug and optimize, however. |
|