Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting edge coordinates from feature edges #471

Open
alexautotiv opened this issue Jul 21, 2021 · 1 comment
Open

Getting edge coordinates from feature edges #471

alexautotiv opened this issue Jul 21, 2021 · 1 comment

Comments

@alexautotiv
Copy link

alexautotiv commented Jul 21, 2021

Hello!

I was wondering if there is a way to get xyz coordinates or line equations for the edges returned from extract_feature_edges. It seems the lines field in the polydata object returned from extract_feature_edges is a series of 2-point coordinates, which I am unsure how to process in the 3D space

Thank you!

@akaszynski
Copy link
Member

The polydata contains a points attribute which contains the 3D points of the lines. The lines attribute is the connectivity array describing the line segments of the lines.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants