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

#include <mesh_builder.h>

Inheritance diagram for RINGMesh::PointSetMeshBuilder< DIMENSION >:
RINGMesh::MeshBaseBuilder< DIMENSION > RINGMesh::GeogramPointSetMeshBuilder< DIMENSION >

Public Member Functions

virtual void remove_isolated_vertices ()
 
- Public Member Functions inherited from RINGMesh::MeshBaseBuilder< DIMENSION >
virtual ~MeshBaseBuilder ()=default
 
template<>
std::unique_ptr< MeshBaseBuilder< 2 > > RINGMESH_API create_builder (MeshBase< 2 > &mesh)
 
template<>
std::unique_ptr< MeshBaseBuilder< 3 > > RINGMESH_API create_builder (MeshBase< 3 > &mesh)
 
void copy (const MeshBase< DIMENSION > &rhs, bool copy_attributes)
 Copy a mesh into this one. More...
 
virtual void load_mesh (const std::string &filename)=0
 
void clear (bool keep_attributes, bool keep_memory)
 Removes all the entities and attributes of this mesh. More...
 
void repair (GEO::MeshRepairMode mode, double colocate_epsilon)
 Fixes some defaults in a mesh. More...
 
void set_vertex (index_t v_id, const vecn< DIMENSION > &vertex)
 Sets a point. More...
 
index_t create_vertex ()
 Creates a new vertex. More...
 
index_t create_vertex (const vecn< DIMENSION > &vertex)
 Creates a new vertex. More...
 
index_t create_vertices (index_t nb)
 Creates a contiguous chunk of vertices. More...
 
void assign_vertices (const std::vector< double > &point_coordinates)
 set vertex coordinates from a std::vector of coordinates More...
 
void delete_vertices (const std::vector< bool > &to_delete)
 Deletes a set of vertices. More...
 
void clear_vertices (bool keep_attributes, bool keep_memory)
 Removes all the vertices and attributes. More...
 
void permute_vertices (const std::vector< index_t > &permutation)
 

Static Public Member Functions

static std::unique_ptr< PointSetMeshBuilder< DIMENSION > > create_builder (PointSetMesh< DIMENSION > &mesh)
 
- Static Public Member Functions inherited from RINGMesh::MeshBaseBuilder< DIMENSION >
static std::unique_ptr< MeshBaseBuilder< DIMENSION > > create_builder (MeshBase< DIMENSION > &mesh)
 

Protected Member Functions

 PointSetMeshBuilder (PointSetMesh< DIMENSION > &mesh)
 
- Protected Member Functions inherited from RINGMesh::MeshBaseBuilder< DIMENSION >
 MeshBaseBuilder (MeshBase< DIMENSION > &mesh)
 
void delete_vertex_nn_search ()
 

Protected Attributes

PointSetMesh< DIMENSION > & pointset_mesh_
 
- Protected Attributes inherited from RINGMesh::MeshBaseBuilder< DIMENSION >
MeshBase< DIMENSION > & mesh_base_
 

Private Member Functions

void clear_vertex_linked_objects () final
 Deletes the NNSearch on vertices. More...
 

Detailed Description

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

Definition at line 297 of file mesh_builder.h.

Constructor & Destructor Documentation

◆ PointSetMeshBuilder()

template<index_t DIMENSION>
RINGMesh::PointSetMeshBuilder< DIMENSION >::PointSetMeshBuilder ( PointSetMesh< DIMENSION > &  mesh)
inlineexplicitprotected

Definition at line 309 of file mesh_builder.h.

Member Function Documentation

◆ clear_vertex_linked_objects()

template<index_t DIMENSION>
void RINGMesh::PointSetMeshBuilder< DIMENSION >::clear_vertex_linked_objects ( )
inlinefinalprivatevirtual

Deletes the NNSearch on vertices.

Implements RINGMesh::MeshBaseBuilder< DIMENSION >.

Definition at line 315 of file mesh_builder.h.

◆ create_builder()

template<index_t DIMENSION>
template std::unique_ptr< PointSetMeshBuilder< 3 > > RINGMESH_API RINGMesh::PointSetMeshBuilder< DIMENSION >::create_builder ( PointSetMesh< DIMENSION > &  mesh)
static

Definition at line 148 of file mesh_builder.cpp.

◆ remove_isolated_vertices()

template<index_t DIMENSION>
virtual void RINGMesh::PointSetMeshBuilder< DIMENSION >::remove_isolated_vertices ( )
inlinevirtual

Definition at line 303 of file mesh_builder.h.

Member Data Documentation

◆ pointset_mesh_

template<index_t DIMENSION>
PointSetMesh< DIMENSION >& RINGMesh::PointSetMeshBuilder< DIMENSION >::pointset_mesh_
protected

Definition at line 321 of file mesh_builder.h.


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