#include <mesh_builder.h>
template<index_t DIMENSION>
class RINGMesh::MeshBaseBuilder< DIMENSION >
Definition at line 57 of file mesh_builder.h.
◆ ~MeshBaseBuilder()
template<index_t DIMENSION>
◆ MeshBaseBuilder()
template<index_t DIMENSION>
◆ assign_vertices()
template<index_t DIMENSION>
set vertex coordinates from a std::vector of coordinates
- Parameters
-
[in] | point_coordinates | a set of x, y (, z) coordinates |
Definition at line 159 of file mesh_builder.h.
◆ clear()
template<index_t DIMENSION>
Removes all the entities and attributes of this mesh.
- 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 entity creations. |
Definition at line 90 of file mesh_builder.h.
◆ clear_vertex_linked_objects()
template<index_t DIMENSION>
◆ clear_vertices()
template<index_t DIMENSION>
Removes all the vertices 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 entity creations. |
Definition at line 184 of file mesh_builder.h.
◆ copy()
template<index_t DIMENSION>
Copy a mesh into this one.
- Parameters
-
[in] | rhs | a const reference to the mesh to be copied. |
[in] | copy_attributes | if true, all attributes are copied. |
- Returns
- a modifiable reference to the point that corresponds to the vertex.
Definition at line 75 of file mesh_builder.h.
◆ create_builder() [1/3]
◆ create_builder() [2/3]
◆ create_builder() [3/3]
template<index_t DIMENSION>
◆ create_vertex() [1/2]
template<index_t DIMENSION>
Creates a new vertex.
- Returns
- the index of the created vertex
Definition at line 126 of file mesh_builder.h.
◆ create_vertex() [2/2]
template<index_t DIMENSION>
Creates a new vertex.
- Parameters
-
[in] | coords | a pointer to dimension() coordinate. |
- Returns
- the index of the created vertex
Definition at line 137 of file mesh_builder.h.
◆ create_vertices()
template<index_t DIMENSION>
Creates a contiguous chunk of vertices.
- Parameters
-
[in] | nb | number of sub-entities to create. |
- Returns
- the index of the first created vertex
Definition at line 148 of file mesh_builder.h.
◆ delete_vertex_nn_search()
template<index_t DIMENSION>
◆ delete_vertices()
template<index_t DIMENSION>
Deletes a set of vertices.
- Parameters
-
[in] | to_delete | a vector of size nb(). If to_delete[e] is true, then entity e will be destroyed, else it will be kept. |
Definition at line 171 of file mesh_builder.h.
◆ do_assign_vertices()
template<index_t DIMENSION>
set vertex coordinates from a std::vector of coordinates
- Parameters
-
[in] | point_coordinates | a set of x, y (, z) coordinates |
◆ do_clear()
template<index_t DIMENSION>
Removes all the entities and attributes of this mesh.
- 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 entity creations. |
◆ do_clear_vertices()
template<index_t DIMENSION>
Removes all the vertices 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 entity creations. |
◆ do_copy()
template<index_t DIMENSION>
Copy a mesh into this one.
- Parameters
-
[in] | rhs | a const reference to the mesh to be copied. |
[in] | copy_attributes | if true, all attributes are copied. |
- Returns
- a modifiable reference to the point that corresponds to the vertex.
◆ do_create_vertex()
template<index_t DIMENSION>
Creates a new vertex.
- Returns
- the index of the created vertex
◆ do_create_vertices()
template<index_t DIMENSION>
Creates a contiguous chunk of vertices.
- Parameters
-
[in] | nb | number of sub-entities to create. |
- Returns
- the index of the first created vertex
◆ do_delete_vertices()
template<index_t DIMENSION>
Deletes a set of vertices.
- Parameters
-
[in] | to_delete | a vector of size nb(). If to_delete[e] is true, then entity e will be destroyed, else it will be kept. |
◆ do_permute_vertices()
template<index_t DIMENSION>
◆ do_repair()
template<index_t DIMENSION>
Fixes some defaults in a mesh.
- Parameters
-
[in] | mode | a combination of #MeshRepairMode flags. Combine them with the 'bitwise or' (|) operator. |
[in] | colocate_epsilon | tolerance used to colocate vertices (if #MESH_REPAIR_COLOCATE is set in mode). |
◆ do_set_vertex()
template<index_t DIMENSION>
Sets a point.
- Parameters
-
[in] | v_id | the vertex, in 0.. nb_vetices()-1. |
[in] | vertex | the vertex coordinates |
- Returns
- reference to the point that corresponds to the vertex.
◆ load_mesh()
template<index_t DIMENSION>
◆ permute_vertices()
template<index_t DIMENSION>
◆ repair()
template<index_t DIMENSION>
Fixes some defaults in a mesh.
- Parameters
-
[in] | mode | a combination of #MeshRepairMode flags. Combine them with the 'bitwise or' (|) operator. |
[in] | colocate_epsilon | tolerance used to colocate vertices (if #MESH_REPAIR_COLOCATE is set in mode). |
Definition at line 102 of file mesh_builder.h.
◆ ringmesh_disable_copy_and_move()
template<index_t DIMENSION>
◆ ringmesh_template_assert_2d_or_3d()
template<index_t DIMENSION>
◆ set_vertex()
template<index_t DIMENSION>
Sets a point.
- Parameters
-
[in] | v_id | the vertex, in 0.. nb_vetices()-1. |
[in] | vertex | the vertex coordinates |
- Returns
- reference to the point that corresponds to the vertex.
Definition at line 117 of file mesh_builder.h.
◆ mesh_base_
template<index_t DIMENSION>
The documentation for this class was generated from the following file: