Skip to content

copy_tree implicitly drops collinear points #2343

@abdelq

Description

@abdelq

There is implicit point compression on a copy_tree call, which was surprising to see while debugging some 3rd party code that uses KLayout's API. I'd assume it would copy the geometry as is, and I couldn't find any comment or flag in the doc about this.

Here is a link to a small unit test that I used to confirm and reproduce the issue: abdelq@9ce4d1f

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions