Unravel Engine C++ Reference
Loading...
Searching...
No Matches
empty_shape.hpp
Go to the documentation of this file.
1#ifndef GENERATOR_EMPTYSHAPE_HPP
2#define GENERATOR_EMPTYSHAPE_HPP
3
4#include "edge.hpp"
5#include "shape_vertex.hpp"
6
7namespace generator
8{
9
12{
13public:
14 class edges_t
15 {
16 public:
17 edge_t generate() const;
18 bool done() const noexcept;
19 void next();
20
21 private:
22 edges_t();
23 friend class empty_shape_t;
24 };
25
27 {
28 public:
30 bool done() const noexcept;
31 void next();
32
33 private:
34 vertices_t();
35 friend class empty_shape_t;
36 };
37
38 edges_t edges() const noexcept;
39
40 vertices_t vertices() const noexcept;
41};
42} // namespace generator
43
44#endif
Empty shape with zero vertices and edges.
edges_t edges() const noexcept
vertices_t vertices() const noexcept