ReUseX  0.0.5
3D Point Cloud Processing for Building Reuse
Loading...
Searching...
No Matches
reusex::geometry::MeshOptions Struct Reference

Options for mesh generation. More...

#include <mesh.hpp>

Public Attributes

float search_threshold = 0.60f
 Search threshold for mesh generation.
float new_plane_offset = 0.25f
 Offset for new plane creation.
IndicesConstPtr filter = nullptr
 Optional filter to limit processing.
double time_limit_seconds = 120.0
 MIP solver wall-clock time limit in seconds (issue #212).
double alpha = 0.04
 Objective wall-weight passed to the Solidifier (was hardcoded, #212).
size_t max_cells = 5000
 Maximum cells the cell complex may generate before failing fast (#213).
bool sectioned = true
 Solve the MIP per horizontal section when the arrangement is multi-storey and large enough, keeping multi-room buildings tractable (issue #226).
size_t sectioned_threshold = 2000
 Cell-count threshold above which the sectioned solve engages (issue #226).
SolverChoice solver = SolverChoice::automatic
 MIP backend + fallback policy: auto (primary with HiGHS fallback), cuopt, or highs (issue #226).

Detailed Description

Options for mesh generation.

Definition at line 19 of file mesh.hpp.

Member Data Documentation

◆ alpha

double reusex::geometry::MeshOptions::alpha = 0.04

Objective wall-weight passed to the Solidifier (was hardcoded, #212).

Definition at line 34 of file mesh.hpp.

◆ filter

IndicesConstPtr reusex::geometry::MeshOptions::filter = nullptr

Optional filter to limit processing.

Definition at line 27 of file mesh.hpp.

◆ max_cells

size_t reusex::geometry::MeshOptions::max_cells = 5000

Maximum cells the cell complex may generate before failing fast (#213).

Definition at line 37 of file mesh.hpp.

◆ new_plane_offset

float reusex::geometry::MeshOptions::new_plane_offset = 0.25f

Offset for new plane creation.

Definition at line 26 of file mesh.hpp.

◆ search_threshold

float reusex::geometry::MeshOptions::search_threshold = 0.60f

Search threshold for mesh generation.

Definition at line 25 of file mesh.hpp.

◆ sectioned

bool reusex::geometry::MeshOptions::sectioned = true

Solve the MIP per horizontal section when the arrangement is multi-storey and large enough, keeping multi-room buildings tractable (issue #226).

Definition at line 41 of file mesh.hpp.

◆ sectioned_threshold

size_t reusex::geometry::MeshOptions::sectioned_threshold = 2000

Cell-count threshold above which the sectioned solve engages (issue #226).

Definition at line 44 of file mesh.hpp.

◆ solver

SolverChoice reusex::geometry::MeshOptions::solver = SolverChoice::automatic

MIP backend + fallback policy: auto (primary with HiGHS fallback), cuopt, or highs (issue #226).

Definition at line 48 of file mesh.hpp.

◆ time_limit_seconds

double reusex::geometry::MeshOptions::time_limit_seconds = 120.0

MIP solver wall-clock time limit in seconds (issue #212).

Guards against the solver hanging indefinitely on complex buildings.

Definition at line 31 of file mesh.hpp.


The documentation for this struct was generated from the following file:
  • libs/reusex/include/reconstruction/mesh.hpp