-
Notifications
You must be signed in to change notification settings - Fork 19
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
Creating PolyTree #14
Comments
did you check openPathsFromPolyTree ? |
|
It seems like the answer doesn't match the question. Would it be possible to get a different answer to this question? I would surmise from this conversation that you wouldn't ever want to create polyTreeToPaths. |
It is possible to go from polyTree to paths since poly trees have more info than paths, but it is not possible to go back since that info would be missing. From the docs:
So it is not that I don't want to, but that it can't be done |
Can't that information be regenerated from the input? Like, check if a polygon is contained within another polygon to reconstruct the hierarchy? |
There's a function
polyTreeToPaths
, but there is no reverse of this. However, most operations just use Paths, so I can't stay on PolyTrees. How can I create a PolyTree?The text was updated successfully, but these errors were encountered: