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

Add PolylinesOverlap function #36

Merged
merged 9 commits into from
Dec 20, 2023
Merged

Add PolylinesOverlap function #36

merged 9 commits into from
Dec 20, 2023

Conversation

domi-b
Copy link
Contributor

@domi-b domi-b commented Dec 19, 2023

Resolves #32

src/model/GeoW_FunctionsExt.ili Outdated Show resolved Hide resolved
src/test/data/PolylinesNotOverlapping/TestData.xtf Outdated Show resolved Hide resolved
src/model/GeoW_FunctionsExt.ili Outdated Show resolved Hide resolved
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

public final class PolylinesNotOverlappingIoxPluginTest {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Wie ist das Verhalten bei zwei identischen Linien, wird das getestet?

Copy link
Contributor Author

@domi-b domi-b Dec 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ich habe das Verhalten noch etwas angepasst, dass Linien mit gleichen Teilstrecken nun auch als Overlap gelten (es entspricht somit nicht mehr zu 100% der Definition von overlap, aber ich habe keinen passenderen Begriff gefunden).
Dabei wird geprüft, dass die Schnittmenge der Linien ebenfalls eine Linie ist (entspricht den Beispielen 29-47 im folgenden Bild).

https://onlinelibrary.wiley.com/cms/asset/22450c38-3698-4f48-bd9e-86c24819356a/tgis12328-fig-0004-m.jpg

@domi-b domi-b changed the title Add PolylinesNotOverlapping function Add PolylinesOverlap function Dec 20, 2023
@domi-b domi-b merged commit 00f1cca into master Dec 20, 2023
1 check passed
@domi-b domi-b deleted the line-overlaps branch December 20, 2023 15:35
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

Successfully merging this pull request may close these issues.

Geometrischer Prüfung von Linien
3 participants