![]() |
【转帖】[arx]怎么求一点到多段线的垂线的垂足的啊?
[arx]怎么求一点到多段线的垂线的垂足的啊?
[arx]怎么求一点到多段线的垂线的垂足的啊? 怎么求一点到多段线的垂线的垂足的啊? 你可以用数学的方法求啊 virtual acad::errorstatus getclosestpointto( const acgepoint3d& givenpnt, const acgevector3d& direction, acgepoint3d& pointoncurve, adesk::boolean extend = adesk::kfalse) const; givenpntinput point (in wcs coordinates) for which to find nearest point on curve directioninput normal vector (in wcs coordinates) for plane to project onto pointoncurvereturns the point (in wcs coordinates) on the curve that is nearest to givenpnt extendinput boolean indicating whether or not to extend curve in search for nearest point this function projects the curve onto the plane defined by givenpnt and normal, finds the point on the projected curve that is nearest to givenpnt, then projects this nearest point back onto the original curve and sets pointoncurve to the result. |
所有的时间均为北京时间。 现在的时间是 10:45 AM. |