Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ class BereichObjektExtensions extends BasisObjektExtensions {
Punkt_Objekt object,
double tolerance
) {
if (tolerance == 1) {
if (tolerance == 0) {
return bereich.contains(object)
}
return bereich.bereichObjektTeilbereich.exists [ bo |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -683,9 +683,13 @@ class TopKanteExtensions extends BasisObjektExtensions {
}

def static boolean isRoute(TOP_Kante topKante, TOP_Kante destination) {
val connectionNode = topKante.connectionTo(destination)
return connectionNode !== null &&
topKante.isRoute(destination, connectionNode)
try {
val connectionNode = topKante.connectionTo(destination)
return connectionNode !== null &&
topKante.isRoute(destination, connectionNode)
} catch (IllegalArgumentException e) {
return false
}
}

/**
Expand Down
3 changes: 3 additions & 0 deletions java/bundles/org.eclipse.set.swtbot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
diff/
*.planpro
!test_res/test_file/*.planpro
Loading