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

A connected component of approximately-vertical, coplanar mesh faces. More...

#include <create_windows.hpp>

Collaboration diagram for reusex::geometry::WallCandidate:

Public Attributes

Eigen::Vector4d plane
 Hessian normal form [a,b,c,d]: ax+by+cz+d=0.
Eigen::Vector3d centroid
 Area-weighted centroid of component faces.
Eigen::Vector3d normal
 Unit outward normal (approximately horizontal).
std::vector< std::vector< Eigen::Vector3d > > boundary_loops
 Boundary loops ordered by half-edge traversal (outer loop first, then holes) Each loop is a sequence of vertices forming a closed polygon.
std::vector< int > face_indices
 Mesh face indices in this component.

Detailed Description

A connected component of approximately-vertical, coplanar mesh faces.

Definition at line 19 of file create_windows.hpp.

Member Data Documentation

◆ boundary_loops

std::vector<std::vector<Eigen::Vector3d> > reusex::geometry::WallCandidate::boundary_loops

Boundary loops ordered by half-edge traversal (outer loop first, then holes) Each loop is a sequence of vertices forming a closed polygon.

First loop (boundary_loops[0]) is the outer boundary. Additional loops represent holes (e.g., embedded windows/doors).

Definition at line 28 of file create_windows.hpp.

◆ centroid

Eigen::Vector3d reusex::geometry::WallCandidate::centroid

Area-weighted centroid of component faces.

Definition at line 21 of file create_windows.hpp.

◆ face_indices

std::vector<int> reusex::geometry::WallCandidate::face_indices

Mesh face indices in this component.

Definition at line 30 of file create_windows.hpp.

◆ normal

Eigen::Vector3d reusex::geometry::WallCandidate::normal

Unit outward normal (approximately horizontal).

Definition at line 22 of file create_windows.hpp.

◆ plane

Eigen::Vector4d reusex::geometry::WallCandidate::plane

Hessian normal form [a,b,c,d]: ax+by+cz+d=0.

Definition at line 20 of file create_windows.hpp.


The documentation for this struct was generated from the following file: