![]() |
【转帖】[求助]多段线求定长位置点的问题
[求助]多段线求定长位置点的问题
[求助]多段线求定长位置点的问题 多段线求定长位置点的问题 acdbpolyline* ppl = new acdbpolyline(4); //多段线逆时针构造 ppl->addvertexat(0,rendpt.convert2d(acgeplane::kxyplane),bulget); //rendpt为多段线起始点 ppl->addvertexat(1,tendpt.convert2d(acgeplane::kxyplane),bulgel); ppl->addvertexat(2,lendpt.convert2d(acgeplane::kxyplane),bulgeb); ppl->addvertexat(3,bendpt.convert2d(acgeplane::kxyplane),bulger); ppl->setclosed(adesk::ktrue);//多段线封闭 acgepoint3d pt_tmp; ppl->getpointatdist(10.0,pt_tmp); 可是程序得到的点pt_tmp是距离rendpt10.0的顺时针点,而不是逆时针的点 请高手帮忙,我要的是逆时针得到pt_tmp点 谢谢各位,问题已解决 |
| 所有的时间均为北京时间。 现在的时间是 08:10 AM. |