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

#include <geomodel_mesh.h>

Inheritance diagram for RINGMesh::GeoModelMeshVertices< DIMENSION >:
RINGMesh::GeoModelMeshVerticesBase< DIMENSION > RINGMesh::GeoModelMeshCommon< DIMENSION >

Public Member Functions

 GeoModelMeshVertices (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &gm, std::unique_ptr< PointSetMesh< DIMENSION > > &mesh)
 
- Public Member Functions inherited from RINGMesh::GeoModelMeshVerticesBase< DIMENSION >
GEO::AttributesManager & attribute_manager () const
 
bool is_initialized () const
 
void test_and_initialize () const
 
index_t nb () const
 Number of non colocated vertices stored. More...
 
const vecn< DIMENSION > & vertex (index_t v) const
 Coordinates of a vertex of the GeoModel. More...
 
index_t index (const vecn< DIMENSION > &p) const
 Returns the index of the given vertex in the geomodel. More...
 
index_t geomodel_vertex_id (const gmme_id &mesh_entity, index_t entity_vertex_index=0) const
 Get the GeoModelMesh index of a GeoModelMeshEntity vertex from its index in that GeoModelMeshEntity. More...
 
index_t geomodel_vertex_id (const gmme_id &mesh_entity, const ElementLocalVertex &element_local_vertex) const
 Get the GeoModelMesh index of a GeoModelMeshEntity vertex from its index in that GeoModelMeshEntity. More...
 
std::vector< index_t > mesh_entity_vertex_id (const gmme_id &mesh_entity, index_t geomodel_vertex_id) const
 Get the GeoModelMeshEntity vertices from its index in the GeoModelMesh. More...
 
const std::vector< GMEVertex > & gme_vertices (index_t v) const
 Get the vertices in GeoModelEntity corresponding to the given unique vertex. More...
 
std::vector< GMEVertexgme_type_vertices (const MeshEntityType &entity_type, index_t vertex) const
 Get the vertex indices in the specified MeshEntity type corresponding to the given unique vertex. More...
 
index_t add_vertex (const vecn< DIMENSION > &point)
 To use when building the geomodel by first adding its vertices. More...
 
index_t add_vertices (const std::vector< vecn< DIMENSION > > &points)
 
void update_point (index_t v, const vecn< DIMENSION > &point)
 Set the point coordinates of all the vertices that share this unique vertex, including the unique vertex itself. More...
 
void update_vertex_mapping (const gmme_id &entity_id, index_t entity_vertex_index, index_t geomodel_vertex_index)
 
virtual void clear ()
 Clear the vertices - clear the gme_vertices_ - clear global vertex information in the all BMME. More...
 
void unbind_geomodel_vertex_map (const gmme_id &mesh_entity_id)
 
void bind_geomodel_vertex_map (const gmme_id &mesh_entity_id)
 
const NNSearch< DIMENSION > & nn_search () const
 
void remove_colocated ()
 Remove colocated vertices. More...
 
void erase_vertices (std::vector< index_t > &to_delete)
 Delete vertices for which to_delete[i] != i The global vertices are deleted, gme_vertices_ is updated and the geomodel_vertx_id in the GeoModelMeshEntity of the GeoModel are updated too. More...
 

Additional Inherited Members

- Protected Member Functions inherited from RINGMesh::GeoModelMeshVerticesBase< DIMENSION >
 GeoModelMeshVerticesBase (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &gm, std::unique_ptr< PointSetMesh< DIMENSION > > &mesh)
 
virtual index_t nb_total_vertices () const
 return the number of all vertices it is computed summing all entities.nb(). More...
 
virtual index_t fill_vertices ()
 
void fill_vertices_for_entity_type (const GeoModel< DIMENSION > &M, const MeshEntityType &entity_type, index_t &count)
 
- Protected Member Functions inherited from RINGMesh::GeoModelMeshCommon< DIMENSION >
 GeoModelMeshCommon (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &geomodel)
 
virtual ~GeoModelMeshCommon ()=default
 
void set_mesh (MeshBase< DIMENSION > *mesh)
 
void save_mesh (const std::string &filename) const
 
- Protected Attributes inherited from RINGMesh::GeoModelMeshVerticesBase< DIMENSION >
std::unique_ptr< PointSetMesh< DIMENSION > > & mesh_
 Attached Mesh. More...
 
GeoModelVertexMapper vertex_mapper_
 Mapper from/to GeoModelMeshEntity vertices. More...
 
- Protected Attributes inherited from RINGMesh::GeoModelMeshCommon< DIMENSION >
GeoModelMesh< DIMENSION > & gmm_
 Attached GeoModelMesh. More...
 
GeoModel< DIMENSION > & geomodel_
 Attached GeoModel. More...
 
MeshBase< DIMENSION > * mesh_base_
 Attached MeshBase. More...
 

Detailed Description

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

Definition at line 512 of file geomodel_mesh.h.

Constructor & Destructor Documentation

◆ GeoModelMeshVertices()

template<index_t DIMENSION>
RINGMesh::GeoModelMeshVertices< DIMENSION >::GeoModelMeshVertices ( GeoModelMesh< DIMENSION > &  gmm,
GeoModel< DIMENSION > &  gm,
std::unique_ptr< PointSetMesh< DIMENSION > > &  mesh 
)

Definition at line 795 of file geomodel_mesh.cpp.


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