mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
Mark loops from profile_helper as external
This commit is contained in:
@@ -1107,8 +1107,9 @@ namespace {
|
||||
profile_point* previous, *next;
|
||||
};
|
||||
|
||||
taxonomy::loop* polygon_from_points(const std::vector<taxonomy::point3>& ps) {
|
||||
taxonomy::loop* polygon_from_points(const std::vector<taxonomy::point3>& ps, bool external = true) {
|
||||
auto loop = new taxonomy::loop();
|
||||
loop->external = external;
|
||||
auto previous = ps.back();
|
||||
for (auto& p : ps) {
|
||||
auto e = new taxonomy::edge;
|
||||
|
||||
Reference in New Issue
Block a user