|
CGAL 6.1 - Homological Discrete Vector Fields
|
#include <CGAL/HDVF/Icosphere_object_io.h>
Public Types | |
| using | Index = size_t |
| using | Lookup = std::map< std::pair< Index, Index >, Index > |
Public Member Functions | |
| Icosphere_object_io (size_t subdivisions, const IONodeType &c=IONodeType({0, 0, 0}), double r=1.) | |
| Index | vertex_for_edge (Lookup &lookup, Index first, Index second) |
| void | subdivide () |
| void | rigid_transformation (const IONodeType &c, double r) |
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, IONodeType > | BB (double ratio=1.) |
Static Public Attributes | |
| static const float | X =.525731112119133606f |
| static const float | Z =.850650808352039932f |
| static const float | N =0.f |
| static const std::vector< IONodeType > | vertices_ico |
| static const std::vector< IOCellType > | triangles_ico |
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< IONodeType > | nodes |
| std::vector< IOCellType > | cells |
|
static |
|
static |