|
CGAL 6.2 - Homological Discrete Vector Fields
|
#include <CGAL/HDVF/Icosphere_object_io.h>
CGAL::Homological_discrete_vector_field::Mesh_object_io< Traits >.
Public Types | |
| using | Point = typename Traits::Point |
| using | Vector = typename Traits::Vector |
| using | Index = size_t |
| using | Lookup = std::map< std::pair< Index, Index >, Index > |
Public Types inherited from CGAL::Homological_discrete_vector_field::Mesh_object_io< Traits > | |
| typedef Traits::Point | Point |
| typedef Traits::Bbox | Bbox |
Public Member Functions | |
| Icosphere_object_io (size_t subdivisions, const Point &c=Point({0, 0, 0}), double r=1.) | |
| Index | vertex_for_edge (Lookup &lookup, Index first, Index second) |
| void | subdivide () |
| void | rigid_transformation (const Point &c, double r) |
Public Member Functions inherited from CGAL::Homological_discrete_vector_field::Mesh_object_io< Traits > | |
| Mesh_object_io (int d=0) | |
| Mesh_object_io (int d, const std::vector< Point > &vnodes, const std::vector< Io_cell_type > &vcells, bool sort_data=false) | |
| Constructor from a vector of Point (vertex coordinates) and a vector of simplices. | |
| Mesh_object_io (const Point &BBmin, const Point &BBmax) | |
| std::vector< Point > | get_nodes () const |
| void | push_back (const Mesh_object_io &mesh) |
| void | add_node (const Point &v) |
| void | clear_cells () |
| void | clear_nodes () |
| void | clear () |
| void | add_cell (Io_cell_type &c, bool sort_indices=false) |
| size_t | cells_of_dim (int q) const |
| bool | read_off (const std::string &filename) |
| bool | write_off (const std::string &filename) const |
| 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) |
| std::ostream & | print_infos (std::ostream &out_stream=std::cout) const |
| Point | centroid () const |
| double | radius (const Point &bary) const |
| Bbox | bbox (double ratio=1.) const |
Static Public Attributes | |
| static const float | X =.525731112119133606f |
| static const float | Z =.850650808352039932f |
| static const float | N =0.f |
| static const std::vector< Point > | vertices_ico |
| static const std::vector< Io_cell_type > | triangles_ico |
Additional Inherited Members | |
Public Attributes inherited from CGAL::Homological_discrete_vector_field::Mesh_object_io< Traits > | |
| int | dim = 0 |
| size_t | nvertices |
| size_t | ncells |
| size_t | nedges |
| std::vector< Point > | nodes |
| std::vector< Io_cell_type > | cells |
|
static |
|
static |