求曲线周围一点到曲线上的最近点
virtual Mcad::ErrorStatus getClosestPointTo(const McGePoint3d& givenPnt, McGePoint3d& pointOnCurve, Mdesk::Boolean extend = Mdesk::kFalse) const;
参数 |
说明 |
const McGePoint3d& givenPnt |
任一点 |
McGePoint3d& pointOnCurve |
曲线上的最近点 |
Mdesk::Boolean extend = Mdesk::kFalse |
暂没有使用,现在曲线不会延伸 |
如果成功返回Mcad::eOk,如果传递的数据非法则返回Mcad::eInvalidInput