mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-08 14:49:01 +08:00
FIX: Error "Voronoi cell doesn't contain a sourcepoint"
github: 3859 Change-Id: Idca84992bcba5380bfe05e63ac9a5e40419dcfdf
This commit is contained in:
parent
8bdda5afb9
commit
ffd292a62c
@ -160,10 +160,12 @@ VoronoiDiagram::detect_known_issues(const VoronoiDiagram &voronoi_diagram, Segme
|
|||||||
return IssueType::FINITE_EDGE_WITH_NON_FINITE_VERTEX;
|
return IssueType::FINITE_EDGE_WITH_NON_FINITE_VERTEX;
|
||||||
} else if (const IssueType cell_issue_type = detect_known_voronoi_cell_issues(voronoi_diagram, segment_begin, segment_end); cell_issue_type != IssueType::NO_ISSUE_DETECTED) {
|
} else if (const IssueType cell_issue_type = detect_known_voronoi_cell_issues(voronoi_diagram, segment_begin, segment_end); cell_issue_type != IssueType::NO_ISSUE_DETECTED) {
|
||||||
return cell_issue_type;
|
return cell_issue_type;
|
||||||
} else if (!VoronoiUtilsCgal::is_voronoi_diagram_planar_angle(voronoi_diagram, segment_begin, segment_end)) {
|
|
||||||
// Detection of non-planar Voronoi diagram detects at least GH issues #8474, #8514 and #8446.
|
|
||||||
return IssueType::NON_PLANAR_VORONOI_DIAGRAM;
|
|
||||||
}
|
}
|
||||||
|
// BBS: test no problem in BBS
|
||||||
|
//} else if (!VoronoiUtilsCgal::is_voronoi_diagram_planar_angle(voronoi_diagram, segment_begin, segment_end)) {
|
||||||
|
// // Detection of non-planar Voronoi diagram detects at least GH issues #8474, #8514 and #8446.
|
||||||
|
// return IssueType::NON_PLANAR_VORONOI_DIAGRAM;
|
||||||
|
//}
|
||||||
|
|
||||||
return IssueType::NO_ISSUE_DETECTED;
|
return IssueType::NO_ISSUE_DETECTED;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user