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

#include <geogram_mesh.h>

Inheritance diagram for RINGMesh::GeogramLineMesh< DIMENSION >:
RINGMesh::LineMesh< DIMENSION > RINGMesh::MeshBase< DIMENSION >

Public Member Functions

index_t edge_vertex (const ElementLocalVertex &edge_local_vertex) const override
 
index_t nb_edges () const override
 Gets the number of all the edges in the whole Mesh. More...
 
GEO::AttributesManager & edge_attribute_manager () const override
 
- Public Member Functions inherited from RINGMesh::LineMesh< DIMENSION >
double edge_length (index_t edge_id) const
 Gets the length of the edge. More...
 
vecn< DIMENSION > edge_barycenter (index_t edge_id) const
 
const NNSearch< DIMENSION > & edge_nn_search () const
 return the NNSearch at edges More...
 
const LineAABBTree< DIMENSION > & edge_aabb () const
 Creates an AABB tree for a Mesh edges. More...
 
bool is_mesh_valid () const override
 
std::tuple< index_t, std::vector< index_t > > connected_components () const final
 
- Public Member Functions inherited from RINGMesh::MeshBase< DIMENSION >
virtual ~MeshBase ()=default
 
virtual void save_mesh (const std::string &filename) const =0
 
virtual void print_mesh_bounded_attributes () const =0
 
virtual const vecn< DIMENSION > & vertex (index_t v_id) const =0
 Gets a point. More...
 
virtual index_t nb_vertices () const =0
 
virtual GEO::AttributesManager & vertex_attribute_manager () const =0
 
const NNSearch< DIMENSION > & vertex_nn_search () const
 return the NNSearch at vertices More...
 
virtual MeshType type_name () const =0
 
virtual std::string default_extension () const =0
 

Private Member Functions

 COMMON_GEOGRAM_MESH_IMPLEMENTATION (GeogramLineMesh)
 

Additional Inherited Members

- Static Public Member Functions inherited from RINGMesh::LineMesh< DIMENSION >
static std::unique_ptr< LineMesh< DIMENSION > > create_mesh (const MeshType type="")
 
- Protected Member Functions inherited from RINGMesh::LineMesh< DIMENSION >
 LineMesh ()=default
 
- Protected Member Functions inherited from RINGMesh::MeshBase< DIMENSION >
 MeshBase ()=default
 
- Protected Attributes inherited from RINGMesh::LineMesh< DIMENSION >
std::unique_ptr< NNSearch< DIMENSION > > edge_nn_search_ {}
 
std::unique_ptr< LineAABBTree< DIMENSION > > edge_aabb_ {}
 
- Protected Attributes inherited from RINGMesh::MeshBase< DIMENSION >
std::unique_ptr< NNSearch< DIMENSION > > vertex_nn_search_ {}
 

Detailed Description

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

Definition at line 129 of file geogram_mesh.h.

Member Function Documentation

◆ COMMON_GEOGRAM_MESH_IMPLEMENTATION()

template<index_t DIMENSION>
RINGMesh::GeogramLineMesh< DIMENSION >::COMMON_GEOGRAM_MESH_IMPLEMENTATION ( GeogramLineMesh< DIMENSION >  )
private

◆ edge_attribute_manager()

template<index_t DIMENSION>
GEO::AttributesManager& RINGMesh::GeogramLineMesh< DIMENSION >::edge_attribute_manager ( ) const
inlineoverridevirtual

Implements RINGMesh::LineMesh< DIMENSION >.

Definition at line 146 of file geogram_mesh.h.

◆ edge_vertex()

template<index_t DIMENSION>
index_t RINGMesh::GeogramLineMesh< DIMENSION >::edge_vertex ( const ElementLocalVertex edge_local_vertex) const
inlineoverridevirtual

Implements RINGMesh::LineMesh< DIMENSION >.

Definition at line 134 of file geogram_mesh.h.

◆ nb_edges()

template<index_t DIMENSION>
index_t RINGMesh::GeogramLineMesh< DIMENSION >::nb_edges ( ) const
inlineoverridevirtual

Gets the number of all the edges in the whole Mesh.

Implements RINGMesh::LineMesh< DIMENSION >.

Definition at line 141 of file geogram_mesh.h.


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