CGAL 6.1 - Homological Discrete Vector Fields
Loading...
Searching...
No Matches
CGAL::HDVF::Tet_object_io Class Reference

#include <CGAL/HDVF/Tet_object_io.h>

Inherits from

CGAL::HDVF::Mesh_object_io.

Public Member Functions

 Tet_object_io (const std::string &prefix)
 
void add_nodes ()
 
void create_nodes ()
 
void add_edges ()
 
void add_faces ()
 
void add_tets ()
 
- Public Member Functions inherited from CGAL::HDVF::Mesh_object_io
 Mesh_object_io ()
 
 Mesh_object_io (int d, const std::vector< IONodeType > &vnodes, const std::vector< IOCellType > &vcells)
 Constructor from a vector of IONodeType (vertices coordinates) and a vector of simplices.
 
 Mesh_object_io (int d, const std::vector< std::vector< double > > &vnodes, const std::vector< IOCellType > &vcells)
 Constructor from a vector of vectors of doubles (vertices coordinates) and a vector of simplices.
 
 Mesh_object_io (const Mesh_object_io &m)
 
std::vector< std::vector< double > > get_nodes ()
 
void push_back (const Mesh_object_io &mesh)
 
void add_node (const IONodeType &v)
 
void clear_cells ()
 
void clear_nodes ()
 
void clear ()
 
void add_cell (const IOCellType &c)
 
size_t cells_of_dim (int q) const
 
bool read_off (const std::string &filename)
 
bool write_off (const std::string &filename)
 
void write_to_vtk (const std::string &filename)
 
bool write_simp (const std::string &filename)
 
bool read_simp (const std::string &filename)
 
bool read_nodes_file (const std::string &filename)
 
void print_infos () const
 
IONodeType barycenter ()
 
double radius (const IONodeType &bary)
 
pair< IONodeType, IONodeTypeBB (double ratio=1.)
 

Additional Inherited Members

- Public Attributes inherited from CGAL::HDVF::Mesh_object_io
int dim = 0
 
size_t nvertices
 
size_t ncells
 
size_t nedges
 
std::vector< IONodeTypenodes
 
std::vector< IOCellTypecells