C#_CAD2010二次开发中GetClosestPointTo()函数的参数

        // 求两条多段线的交点,对等高线和房屋,一般是0、2、4...个;
        public static Point3dCollection Intersect_TwoPolyline(Polyline pl1, Polyline pl2)
        {
            Point3dCollection pts_fromIntersect = new Point3dCollection();
            pl2.Elevation = pl1.Elevation;
            pl1.IntersectWith(pl2, Intersect.OnBothOperands, pts_fromIntersect, 0, 0);  //
            int count_fromIntersect = pts_fromIntersect.Count;
            return pts_fromIntersect;
        }

 

https://blog.csdn.net/qq_40416052/article/details/82343341   vip

https://www.cnblogs.com/nuoyi/articles/4924418.html   vip

https://blog.csdn.net/yxsf1516/article/details/86667682

 

 

 

//

public virtual Point3d GetClosestPointTo(Point3d givenPoint, bool extend);
public virtual Point3d GetClosestPointTo(Point3d givenPoint, Vector3d direction, bool extend);

功能:获得曲线外点到曲线最近距离曲线上的点,或者两条曲线间最近距离的点

  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值