Stores the facet corners of a mesh (low-level store)  
 More...
#include <geogram/mesh/mesh.h>
Stores the facet corners of a mesh (low-level store) 
Definition at line 867 of file mesh.h.
 
◆ adjacent_facet()
Gets the facet that a corner is adjacent to. 
- Parameters
 - 
  
  
 
- Returns
 - the facet that corner 
is adjacent to or NO_FACET if c is on the border  
Definition at line 887 of file mesh.h.
 
 
◆ adjacent_facet_ptr() [1/2]
Gets a pointer to the the facet index that a corner is adjacent to. 
- Parameters
 - 
  
  
 
- Returns
 - a pointer to the the facet index that corner 
is adjacent to.  
Definition at line 912 of file mesh.h.
 
 
◆ adjacent_facet_ptr() [2/2]
  
  
      
        
          | const index_t * GEO::MeshFacetCornersStore::adjacent_facet_ptr  | 
          ( | 
          index_t  | 
          c | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets a pointer to the the facet index that a corner is adjacent to. 
- Parameters
 - 
  
  
 
- Returns
 - a pointer to the the facet index that corner 
is adjacent to.  
Definition at line 899 of file mesh.h.
 
 
◆ clear_store()
  
  
      
        
          | void GEO::MeshFacetCornersStore::clear_store  | 
          ( | 
          bool  | 
          keep_attributes,  | 
         
        
           | 
           | 
          bool  | 
          keep_memory = false  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
Removes all the elements and attributes. 
- Parameters
 - 
  
    | [in] | keep_attributes | if true, then all the existing attribute names / bindings are kept (but they are cleared). If false, they are destroyed.  | 
    | [in] | keep_memory | if true, then memory is kept and can be reused by subsequent mesh element creations.  | 
  
   
Reimplemented from GEO::MeshSubElementsStore.
 
 
◆ copy()
◆ create_sub_element()
◆ create_sub_elements()
◆ resize_store()
  
  
      
        
          | void GEO::MeshFacetCornersStore::resize_store  | 
          ( | 
          index_t  | 
          new_size | ) | 
           | 
         
       
   | 
  
overrideprotectedvirtual   | 
  
 
 
◆ set_adjacent_facet()
  
  
      
        
          | void GEO::MeshFacetCornersStore::set_adjacent_facet  | 
          ( | 
          index_t  | 
          c,  | 
         
        
           | 
           | 
          index_t  | 
          f  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Sets the facet that a corner is adjacent to. 
- Parameters
 - 
  
    | [in] | c | the corner  | 
    | [in] | f | the facet that corner is adjacent to or NO_FACET if c is on the border  | 
  
   
Definition at line 950 of file mesh.h.
 
 
◆ set_vertex()
Sets the vertex that a corner is incident to. 
- Parameters
 - 
  
    | [in] | c | the corner  | 
    | [in] | v | the vertex that corner c is incident to  | 
  
   
- Precondition
 - v < mesh.vertices.nb() 
 
Definition at line 923 of file mesh.h.
 
 
◆ set_vertex_no_check()
  
  
      
        
          | void GEO::MeshFacetCornersStore::set_vertex_no_check  | 
          ( | 
          index_t  | 
          c,  | 
         
        
           | 
           | 
          index_t  | 
          v  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Sets the vertex that a corner is incident to. 
Does not check whether v is a valid vertex index. This function is useful for some algorithms that need to create/update the facets before creating the vertices. 
- Parameters
 - 
  
    | [in] | c | the corner  | 
    | [in] | v | the vertex that corner c is incident to  | 
  
   
- Note
 - Normal uses do not call this function 
 
Definition at line 939 of file mesh.h.
 
 
◆ vertex()
Gets the vertex that a corner is incident to. 
- Parameters
 - 
  
  
 
- Returns
 - the vertex that corner 
c is incident to  
Definition at line 876 of file mesh.h.
 
 
◆ vertex_index_ptr() [1/2]
Gets a pointer to the vertex that a corner is incident to. 
- Parameters
 - 
  
  
 
- Returns
 - a pointer to the index of the vertex that this corner is incident to 
 
- Note
 - Normal uses do not call this function 
 
Definition at line 963 of file mesh.h.
 
 
◆ vertex_index_ptr() [2/2]
  
  
      
        
          | const index_t * GEO::MeshFacetCornersStore::vertex_index_ptr  | 
          ( | 
          index_t  | 
          c | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Gets a pointer to the vertex that a corner is incident to. 
- Parameters
 - 
  
  
 
- Returns
 - a pointer to the index of the vertex that this corner is incident to 
 
- Note
 - Normal uses do not call this function 
 
Definition at line 975 of file mesh.h.
 
 
◆ GeogramIOHandler
  
  
      
        
          | friend class GeogramIOHandler | 
         
       
   | 
  
friend   | 
  
 
 
◆ Mesh
◆ MeshFacets
◆ corner_adjacent_facet_
  
  
      
        
          | vector<index_t> GEO::MeshFacetCornersStore::corner_adjacent_facet_ | 
         
       
   | 
  
protected   | 
  
 
 
◆ corner_vertex_
◆ facets_
◆ vertices_
The documentation for this class was generated from the following file: