RINGMesh
Version 5.0.0
A programming library for geological model meshes
|
#include <geomodel_mesh.h>
Public Member Functions | |
GeoModelMeshPolygons (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &gm, std::unique_ptr< SurfaceMesh< DIMENSION > > &mesh) | |
Public Member Functions inherited from RINGMesh::GeoModelMeshPolygonsBase< DIMENSION > | |
virtual | ~GeoModelMeshPolygonsBase () |
GEO::AttributesManager & | attribute_manager () const |
bool | is_initialized () const |
void | test_and_initialize () const |
index_t | nb () const |
Number of polygons stored. More... | |
index_t | nb_vertices (index_t polygon) const |
index_t | vertex (const ElementLocalVertex &polygon_local_vertex) const |
index_t | adjacent (const PolygonLocalEdge &polygon_local_edge) const |
index_t | surface (index_t polygon) const |
index_t | index_in_surface (index_t polygon) const |
std::tuple< PolygonType, index_t > | type (index_t polygon) const |
index_t | nb_polygons (PolygonType type=PolygonType::UNDEFINED) const |
index_t | nb_polygons (index_t surface, PolygonType type=PolygonType::UNDEFINED) const |
index_t | polygon (index_t surface, index_t polygon, PolygonType type=PolygonType::UNDEFINED) const |
index_t | nb_triangle () const |
index_t | nb_triangle (index_t surface) const |
index_t | triangle (index_t surface, index_t triangle) const |
index_t | nb_quad () const |
index_t | nb_quad (index_t surface) const |
index_t | quad (index_t surface, index_t quad) const |
index_t | nb_unclassified_polygon () const |
index_t | nb_unclassified_polygon (index_t surface) const |
index_t | unclassified_polygon (index_t surface, index_t polygon) const |
void | clear () |
vecn< DIMENSION > | center (index_t polygon) const |
double | area (index_t polygon) const |
const NNSearch< DIMENSION > & | nn_search () const |
const SurfaceAABBTree< DIMENSION > & | aabb () const |
return the AABB tree for the polygons of the mesh More... | |
Additional Inherited Members | |
Protected Member Functions inherited from RINGMesh::GeoModelMeshPolygonsBase< DIMENSION > | |
GeoModelMeshPolygonsBase (GeoModelMesh< DIMENSION > &gmm, GeoModel< DIMENSION > &gm, std::unique_ptr< SurfaceMesh< DIMENSION > > &mesh) | |
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::GeoModelMeshPolygonsBase< DIMENSION > | |
std::unique_ptr< SurfaceMesh< DIMENSION > > & | mesh_ |
Attached Mesh. More... | |
std::vector< index_t > | surface_id_ |
Vector storing the surface index per polygon. More... | |
std::vector< index_t > | polygon_id_ |
Vector storing the polygon index in surface per polygon. More... | |
std::vector< index_t > | surface_polygon_ptr_ |
index_t | nb_triangles_ { 0 } |
Number of triangles in the GeoModelMesh. More... | |
index_t | nb_quads_ { 0 } |
Number of quads in the GeoModelMesh. More... | |
index_t | nb_unclassified_polygons_ { 0 } |
Number of unclassified polygons in the GeoModelMesh. 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... | |
Definition at line 809 of file geomodel_mesh.h.
RINGMesh::GeoModelMeshPolygons< DIMENSION >::GeoModelMeshPolygons | ( | GeoModelMesh< DIMENSION > & | gmm, |
GeoModel< DIMENSION > & | gm, | ||
std::unique_ptr< SurfaceMesh< DIMENSION > > & | mesh | ||
) |
Definition at line 2551 of file geomodel_mesh.cpp.