Frank Oquendo wrote:
>
> Would you mind demonstrating this bug? The use of an index totally negates
> your assertions concerning the presence of multiple vertices at the same
> point. The same applies to your argument concerning the polyline not being
> in the WCS. That is only a factor when using a point rather than a index. If
> you're going to take the time to accuse people of writing bad code at least
> have the professional courtesy of doing your research.
You're the one who failed to do his research.
Everything you say above, is incorrect.
Given the two conditions I cited earlier, you code will
fail, regardless of whether it is passed the index of
the vertex, or its coordinate location.
I'm not here to tutor you, and I'm not going to waste
time demonstrating the bug. My comments were strictly
for the benefit of the original poster, not you. If
you don't like the fact that I choose to point out flaws
in your code, which can cause problems for those who
adopt that code, then feel free to do what you usually
do, which is to label my comments impolite, rude, or a
personal attack, and complain to Autodesk about them.
--
/*********************************************************/
/* Tony Tanzillo Design Automation Consulting */
/* Programming & Customization for AutoCAD & Compatibles */
/* ----------------------------------------------------- */
/* tony.tanzillo@worldnet.att.net */
/* http://ourworld.compuserve.com/homepages/tonyt */
/*********************************************************/