ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

getPointAtDist(dist,point)

2 REPLIES 2
Reply
Message 1 of 3
phamthaithinh
350 Views, 2 Replies

getPointAtDist(dist,point)

Any one show me why I use this function with a closed 3DPolyline but
it is return Acad::eOk when dist> lengthen???
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: phamthaithinh

Is the distance less then the polyline length + the length between the last
vertex and the first vertex? In other words, is the distance less then the
polyline's closed path length? If so, then it is doing as it should since
the closing segment is part of the polyline.

I just looked at the source code for AcDb3dPolyline::getPointAtDist() and it
appears that it should definitely error out if the distance is greater then
the polyline's closed path length.

wrote in message news:5100946@discussion.autodesk.com...
Any one show me why I use this function with a closed 3DPolyline but
it is return Acad::eOk when dist> lengthen???
Message 3 of 3

No, the closed Polyline is the polyline what has the first vertex and last vertex same(the first vertex=the last vertex)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost