0 Members and 1 Guest are viewing this topic.
Quote from: Lee Mac on December 10, 2014, 06:44:34 AMQuote from: Marc'Antonio Alessi on December 10, 2014, 06:22:58 AMExcuse my ignorance, and without me try to understand something above, can you indicate what functions are accounting for bulge?My posted functions are accounting for bulge (i.e. returning nil if the polyline contains arc segments), yours & VovKa's are not.About adiacent vertex (see image and dwg posted) what do you think? we consider orthogonal?
Quote from: Marc'Antonio Alessi on December 10, 2014, 06:22:58 AMExcuse my ignorance, and without me try to understand something above, can you indicate what functions are accounting for bulge?My posted functions are accounting for bulge (i.e. returning nil if the polyline contains arc segments), yours & VovKa's are not.
Excuse my ignorance, and without me try to understand something above, can you indicate what functions are accounting for bulge?
After a quick test ortho-p5 seems the best. Thanks.
Note that, as Lee noted, these make assumptions about the parameterization of a polyline that may not always be true.
See e.g. QuirkyPolyline: exposing foolish programmers.
Quote from: owenwengerd on December 10, 2014, 02:17:07 PMNote that, as Lee noted, these make assumptions about the parameterization of a polyline that may not always be true.I re-read all the messages but I do not see where Lee said that.
Another option, with reliance on integer parameters at vertices...