ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
mesh.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2025 Povl Filip Sonne-Frederiksen
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#pragma once
7#include <CLI/CLI.hpp>
8#include <memory>
9#include <string>
10
11#include <reusex/reconstruction/mesh.hpp>
12
13namespace fs = std::filesystem;
14
45
46// Function declarations.
48 std::shared_ptr<RuxOptions> global_opt);
50 const RuxOptions &global_opt);
void setup_subcommand_create_mesh(CLI::App &app, std::shared_ptr< RuxOptions > global_opt)
int run_subcommand_mesh(SubcommandMeshOptions const &opt, const RuxOptions &global_opt)
Collection of all options of Subcommand A.
Definition mesh.hpp:22
double search_threshold
Definition mesh.hpp:30
double angle_threshold
Definition mesh.hpp:27
size_t max_cells
Cell complex guard, issue #213.
Definition mesh.hpp:35
std::string output_mesh_name
Mesh name in ProjectDB.
Definition mesh.hpp:23
double distance_threshold
Definition mesh.hpp:28
bool sectioned
Sectioned MIP solve controls (issue #226). Defaults mirror MeshOptions.
Definition mesh.hpp:38
size_t sectioned_threshold
Definition mesh.hpp:39
std::string solver
MIP backend: auto | cuopt | highs.
Definition mesh.hpp:41
std::string filter_expr
Filter expression to limit processing.
Definition mesh.hpp:43
double time_limit_seconds
MIP solver time limit (s), issue #212.
Definition mesh.hpp:33
double alpha
MIP objective wall-weight, issue #212.
Definition mesh.hpp:34
double new_plane_offset
Definition mesh.hpp:31
Options for mesh generation.
Definition mesh.hpp:19
float search_threshold
Search threshold for mesh generation.
Definition mesh.hpp:25
bool sectioned
Solve the MIP per horizontal section when the arrangement is multi-storey and large enough,...
Definition mesh.hpp:41
size_t sectioned_threshold
Cell-count threshold above which the sectioned solve engages (issue #226).
Definition mesh.hpp:44
float new_plane_offset
Offset for new plane creation.
Definition mesh.hpp:26