sfcgal: add support for extend to edges parameter in medial axis algorithm#65796
Open
ptitjano wants to merge 2 commits intoqgis:masterfrom
Open
sfcgal: add support for extend to edges parameter in medial axis algorithm#65796ptitjano wants to merge 2 commits intoqgis:masterfrom
ptitjano wants to merge 2 commits intoqgis:masterfrom
Conversation
a501776 to
73b4f0a
Compare
Contributor
🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. 🍎 MacOS Qt6 buildsDownload MacOS Qt6 builds of this PR for testing. |
nyalldawson
reviewed
Apr 15, 2026
With SFCGAL 2.3, the approximate media axis algorithm has a new `extendToEdges` parameter. If this paremeter is activated, the medial axis end points are extended to the input polygon boundary. This is achieved by adding a new boolean parameter to `QgsSfcgalEngine::approximateMedialAxis`. This parameter has not effect when using SFCGAL prior to version 2.3.
73b4f0a to
de9c336
Compare
Collaborator
Author
|
PR updated. |
…meter With SFCGAL 2.3, the approximate media axis algorithm has a new `extendToEdges` parameter. If this paremeter is activated, the medial axis end points are extended to the input polygon boundary.
de9c336 to
d03047b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
With SFCGAL 2.3, the approximate media axis algorithm has a new
extendToEdgesparameter. If this paremeter is activated, the medialaxis end points are extended to the input polygon boundary.
AI tool usage
No AI tool used
Funded by Stadt Frankfurt am Main