Skip to main content
Question

Offsetcurvegenerator Miter option


umapper1
Contributor
Forum|alt.badge.img+5

Hi all,

Does anyone know more about the Offsetcurvegenerator transformer? I've offset a 3D polyline using this transformer setting it to the Miter option using a large miter limit (shown below). I would have expected this to give me the same number of vertices in the offset line but it appears to have added new, somewhat random points to the offset line. Shown below in the blue highlight. Can anyone shed some light on why this is happening and how I can get around it?

2 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • March 29, 2020

Hi @umapper1, I think such excess vertices are on a straight line theoretically. I guess that those vertices are just remaining for some reason on the implementation. If so, the Generalizer (Douglas algorithm) might help you to remove those vertices. Try setting very small value (e.g. 1e-12) to the Generalization Tolerance parameter.


umapper1
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • March 29, 2020
takashi wrote:

Hi @umapper1, I think such excess vertices are on a straight line theoretically. I guess that those vertices are just remaining for some reason on the implementation. If so, the Generalizer (Douglas algorithm) might help you to remove those vertices. Try setting very small value (e.g. 1e-12) to the Generalization Tolerance parameter.

Thanks @takashi, I will give this a try.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings