因为Autodesk.AutoCAD.Geometry.Line2d是对应的几何中的直线,是没有边界的,所以没有起点也没有终点,操作无效。
并且用IntersectWith求两条Line2d对象的交点时,只要不平行,那么总能有交点。
如果想使用有界的直线,应该使用线段:LineSegment2d