虽说有IntersectWith方法求交点,可是如果object,IntersectObject是同一图元时
例如LWPOLYLINE 那么RetVal 中的交点为什么是它的节点
那么应该怎么正确的求出真正的交点呢?
谢谢大家!
附注 IntersectWith 方法
RetVal = object.IntersectWith(IntersectObject, ExtendOption)
Object All Drawing Objects (Except Pviewport and PolygonMesh) The object or objects this method applies to. IntersectObject Object, input-only; The object can be one of All Drawing Objects.
ExtendOption AcExtendOption enum; input-only This option specifies if one or the other, both, or none of the entities are to be extended in order to attempt an intersection.
acExtendNone Does not extend either object. acExtendThisEntity Extends the base object. acExtendOtherEntity Extends the object passed as an argument.
acExtendBoth Extends both objects.
RetVal Variant (array of doubles) The array of points where one object intersects another object in the drawing.