1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! Polyhedra is a small library for creating polyhedra.
//! It currently can create the basic platonic solids, geodesic polyhedra
//! based on the icosahedron and their respective Goldberg polyhedra.
//!
//! Polyhedra allow access to their basic information (vertices, edges and faces)
//! and can be converted into graphs based on the [petgraph](https://github.com/petgraph/petgraph)
//! library.
//!
//! # Example
//! ```
//! use polyhedra::VertexGraph;
//! use polyhedra::geodesic::build_icosahedral_goldberg;
//!
//! let subdivisions = 2;
//! let goldberg = build_icosahedral_goldberg(subdivisions);
//! let graph: VertexGraph = goldberg.into();
//! ```
//!
pub use *;
pub use *;