RINGMesh  Version 5.0.0
A programming library for geological model meshes
RINGMesh::GeoModelBuilderGeometry< DIMENSION > Class Template Referencefinal

#include <geomodel_builder_geometry.h>

Inheritance diagram for RINGMesh::GeoModelBuilderGeometry< DIMENSION >:
RINGMesh::GeoModelBuilderGeometryBase< DIMENSION >

Protected Member Functions

 GeoModelBuilderGeometry (GeoModelBuilder< DIMENSION > &builder, GeoModel< DIMENSION > &geomodel)
 
- Protected Member Functions inherited from RINGMesh::GeoModelBuilderGeometryBase< DIMENSION >
 GeoModelBuilderGeometryBase (GeoModelBuilder< DIMENSION > &builder, GeoModel< DIMENSION > &geomodel)
 
void duplicate_surface_vertices_along_line (index_t surface_id, index_t line_id)
 Duplicates the surface vertices along the fake boundary (NO_ID adjacencies but shared vertices) and duplicate the vertices. More...
 
index_t disconnect_surface_polygons_along_line_edges (index_t surface_id, index_t line_id)
 
void update_polygon_vertex (index_t surface_id, const std::vector< index_t > &polygons, index_t old_vertex, index_t new_vertex)
 

Friends

class GeoModelBuilderBase< DIMENSION >
 
class GeoModelBuilder< DIMENSION >
 

Additional Inherited Members

- Public Member Functions inherited from RINGMesh::GeoModelBuilderGeometryBase< DIMENSION >
virtual ~GeoModelBuilderGeometryBase ()=default
 
void clear_geomodel_mesh ()
 
void change_mesh_data_structure (const gmme_id &id, const MeshType type)
 Transfer general mesh information from one mesh data structure to another one. More...
 
std::unique_ptr< PointSetMeshBuilder< DIMENSION > > create_corner_builder (index_t corner_id)
 Create a PointMeshBuilder for a given corner. More...
 
std::unique_ptr< LineMeshBuilder< DIMENSION > > create_line_builder (index_t line_id)
 Create a LineMeshBuilder for a given line. More...
 
std::unique_ptr< SurfaceMeshBuilder< DIMENSION > > create_surface_builder (index_t surface_id)
 Create a Mesh2DBuilder for a given surface. More...
 
virtual void copy_meshes (const GeoModel< DIMENSION > &from)
 Copy all entity meshes from the input geomodel. More...
 
void copy_meshes (const GeoModel< DIMENSION > &from, const MeshEntityType &entity_type)
 
void copy_mesh (const GeoModel< DIMENSION > &from, const gmme_id &mesh_entity)
 
void assign_mesh_to_entity (const MeshBase< DIMENSION > &mesh, const gmme_id &to)
 
void set_mesh_entity_vertex (const gmme_id &entity_id, index_t v, const vecn< DIMENSION > &point, bool update)
 Sets a vertex coordinates of a GeoModelMeshEntity. More...
 
void set_mesh_entity_vertices (const gmme_id &entity_id, const std::vector< vecn< DIMENSION > > &points, bool clear)
 Adds vertices to the mesh. More...
 
void set_corner (index_t corner_id, const vecn< DIMENSION > &point)
 Sets the coordinates of a given existing Corner. More...
 
void set_line (index_t line_id, const std::vector< vecn< DIMENSION > > &vertices)
 Sets the mesh of a given existing Line. More...
 
void set_surface_geometry (index_t surface_id, const std::vector< vecn< DIMENSION > > &surface_vertices, const std::vector< index_t > &surface_polygons, const std::vector< index_t > &surface_polygon_ptr)
 Sets the points and polygons for a surface. More...
 
void set_mesh_entity_vertex (const gmme_id &entity_id, index_t v, index_t geomodel_vertex)
 Sets the geometrical position of a vertex from a geomodel vertex. More...
 
void set_mesh_entity_vertices (const gmme_id &entity_id, const std::vector< index_t > &geomodel_vertices, bool clear)
 Adds vertices to the mesh. More...
 
void set_corner (index_t corner_id, index_t geomodel_vertex_id)
 Sets the vertex for a Corner. Store the info in the geomodel vertices. More...
 
void set_line (index_t line_id, const std::vector< index_t > &unique_vertices)
 Sets one Line vertices. Store the info in the geomodel vertices. More...
 
void set_surface_geometry (index_t surface_id, const std::vector< index_t > &polygons, const std::vector< index_t > &polygon_ptr)
 Sets the polygons of a surface. More...
 
void set_surface_element_geometry (index_t surface_id, index_t polygon_id, const std::vector< index_t > &corners)
 
index_t create_mesh_entity_vertices (const gmme_id &entity_id, index_t nb_vertices)
 Creates new vertices to the mesh. More...
 
index_t create_surface_polygon (index_t surface_id, const std::vector< index_t > &vertex_indices)
 
void delete_mesh_entity_mesh (const gmme_id &E_id)
 
virtual void delete_mesh_entity_isolated_vertices (const gmme_id &E_id)
 
void delete_mesh_entity_vertices (const gmme_id &E_id, const std::vector< bool > &to_delete)
 
void delete_corner_vertex (index_t corner_id)
 
void delete_line_edges (index_t line_id, const std::vector< bool > &to_delete, bool remove_isolated_vertices)
 
void delete_surface_polygons (index_t surface_id, const std::vector< bool > &to_delete, bool remove_isolated_vertices)
 
void set_surface_element_adjacency (index_t surface_id, index_t polygon_id, const std::vector< index_t > &adjacents)
 
void compute_surface_adjacencies (index_t surface_id, bool recompute_adjacency=true)
 Computes and sets the adjacencies between the polygons. More...
 
void cut_surfaces_by_internal_lines ()
 
void cut_surface_by_line (index_t surface_id, index_t line_id)
 Cuts a Surface along a Line assuming that the edges of the Line are edges of the Surface. More...
 
- Protected Attributes inherited from RINGMesh::GeoModelBuilderGeometryBase< DIMENSION >
GeoModelBuilder< DIMENSION > & builder_
 
GeoModel< DIMENSION > & geomodel_
 
GeoModelAccess< DIMENSION > geomodel_access_
 

Detailed Description

template<index_t DIMENSION>
class RINGMesh::GeoModelBuilderGeometry< DIMENSION >

Definition at line 394 of file geomodel_builder_geometry.h.

Constructor & Destructor Documentation

◆ GeoModelBuilderGeometry()

template<index_t DIMENSION>
RINGMesh::GeoModelBuilderGeometry< DIMENSION >::GeoModelBuilderGeometry ( GeoModelBuilder< DIMENSION > &  builder,
GeoModel< DIMENSION > &  geomodel 
)
inlineprotected

Definition at line 401 of file geomodel_builder_geometry.h.

Friends And Related Function Documentation

◆ GeoModelBuilder< DIMENSION >

template<index_t DIMENSION>
friend class GeoModelBuilder< DIMENSION >
friend

Definition at line 398 of file geomodel_builder_geometry.h.

◆ GeoModelBuilderBase< DIMENSION >

template<index_t DIMENSION>
friend class GeoModelBuilderBase< DIMENSION >
friend

Definition at line 397 of file geomodel_builder_geometry.h.


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