|
RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <mesh.h>
Public Member Functions | |
| virtual index_t | edge_vertex (const ElementLocalVertex &edge_local_vertex) const =0 |
| virtual index_t | nb_edges () const =0 |
| Gets the number of all the edges in the whole Mesh. More... | |
| 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... | |
| virtual GEO::AttributesManager & | edge_attribute_manager () const =0 |
| 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 |
Static Public Member Functions | |
| static std::unique_ptr< LineMesh< DIMENSION > > | create_mesh (const MeshType type="") |
Protected Member Functions | |
| LineMesh ()=default | |
Protected Member Functions inherited from RINGMesh::MeshBase< DIMENSION > | |
| MeshBase ()=default | |
Protected Attributes | |
| 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_ {} |
Friends | |
| class | LineMeshBuilder< DIMENSION > |
class for encapsulating line mesh (composed of edges)
|
protecteddefault |
|
finalvirtual |
Implements RINGMesh::MeshBase< DIMENSION >.
|
static |
|
inline |
|
pure virtual |
Implemented in RINGMesh::GeogramLineMesh< DIMENSION >.
|
inline |
|
inline |
|
inline |
|
pure virtual |
Implemented in RINGMesh::GeogramLineMesh< DIMENSION >.
|
inlineoverridevirtual |
Implements RINGMesh::MeshBase< DIMENSION >.
|
pure virtual |
Gets the number of all the edges in the whole Mesh.
Implemented in RINGMesh::GeogramLineMesh< DIMENSION >.
|
friend |
|
mutableprotected |
|
mutableprotected |