RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::GeoModelBuilderSurfaceMesh Class Reference

To build a GeoModel from a set of disconnected polygonal surfaces. More...

#include <geomodel_builder_from_mesh.h>

Inheritance diagram for RINGMesh::GeoModelBuilderSurfaceMesh:
RINGMesh::GeoModelBuilder< 3 > RINGMesh::GeoModelBuilderBase< 3 >

Public Member Functions

 GeoModelBuilderSurfaceMesh (GeoModel3D &geomodel, const GEO::Mesh &mesh)
 
void build_polygonal_surfaces_from_connected_components ()
 
- Public Member Functions inherited from RINGMesh::GeoModelBuilder< 3 >
 GeoModelBuilder (GeoModel3D &geomodel)
 
void build_regions_from_lines_and_surfaces ()
 
- Public Member Functions inherited from RINGMesh::GeoModelBuilderBase< 3 >
virtual ~GeoModelBuilderBase ()=default
 
void end_geomodel ()
 Finish up geomodel building and complete missing information. More...
 
void build_corners_from_lines ()
 
void build_lines_and_corners_from_surfaces ()
 

Private Attributes

const GEO::Mesh & mesh_
 

Additional Inherited Members

- Public Attributes inherited from RINGMesh::GeoModelBuilderBase< 3 >
GeoModelBuilderTopology< DIMENSION > topology
 
GeoModelBuilderGeometry< DIMENSION > geometry
 
GeoModelBuilderGeology< DIMENSION > geology
 
GeoModelBuilderRemoval< DIMENSION > removal
 
GeoModelBuilderRepair< DIMENSION > repair
 
GeoModelBuilderCopy< DIMENSION > copy
 
GeoModelBuilderInfo< DIMENSION > info
 
- Protected Member Functions inherited from RINGMesh::GeoModelBuilderBase< 3 >
 GeoModelBuilderBase (GeoModelBuilder< DIMENSION > &builder, GeoModel< DIMENSION > &geomodel)
 
void cut_geomodel_on_internal_boundaries ()
 
void cut_geomodel_on_internal_boundaries ()
 
void cut_geomodel_on_internal_boundaries ()
 
- Protected Attributes inherited from RINGMesh::GeoModelBuilderBase< 3 >
GeoModel< DIMENSION > & geomodel_
 
GeoModelAccess< DIMENSION > geomodel_access_
 

Detailed Description

To build a GeoModel from a set of disconnected polygonal surfaces.

Definition at line 56 of file geomodel_builder_from_mesh.h.

Constructor & Destructor Documentation

◆ GeoModelBuilderSurfaceMesh()

RINGMesh::GeoModelBuilderSurfaceMesh::GeoModelBuilderSurfaceMesh ( GeoModel3D &  geomodel,
const GEO::Mesh &  mesh 
)
inline

Definition at line 59 of file geomodel_builder_from_mesh.h.

Member Function Documentation

◆ build_polygonal_surfaces_from_connected_components()

void RINGMesh::GeoModelBuilderSurfaceMesh::build_polygonal_surfaces_from_connected_components ( )

Adds separately each connected component of the mesh as a Surface of the geomodel under construction. All the polygons of the input mesh are visited and added to a Surface of the GeoModel. Connected components of the mesh are determined with a propagation (or "coloriage" algorithm) using the adjacent_facet information provided on the input GEO::Mesh.

Definition at line 51 of file geomodel_builder_from_mesh.cpp.

Member Data Documentation

◆ mesh_

const GEO::Mesh& RINGMesh::GeoModelBuilderSurfaceMesh::mesh_
private

Definition at line 83 of file geomodel_builder_from_mesh.h.


The documentation for this class was generated from the following files: