Unravel Engine C++ Reference
Loading...
Searching...
No Matches
knot_path.hpp
Go to the documentation of this file.
1
#ifndef GENERATOR_TORUSKNOTPATH_HPP
2
#define GENERATOR_TORUSKNOTPATH_HPP
3
4
#include "
circle_shape.hpp
"
5
#include "
extrude_mesh.hpp
"
6
#include "
parametric_path.hpp
"
7
8
namespace
generator
9
{
10
13
class
knot_path_t
14
{
15
private
:
16
using
impl_t
=
parametric_path_t
;
17
impl_t
parametric_path_;
18
19
public
:
23
knot_path_t
(
int
p = 2,
int
q = 3,
int
segments
= 96);
24
25
using
edges_t
=
typename
impl_t::edges_t
;
26
27
edges_t
edges
() const noexcept
28
{
29
return
parametric_path_.
edges
();
30
}
31
32
using
vertices_t
=
typename
impl_t::vertices_t
;
33
34
vertices_t
vertices
() const noexcept
35
{
36
return
parametric_path_.
vertices
();
37
}
38
};
39
}
// namespace generator
40
41
#endif
circle_shape.hpp
generator::knot_path_t
Definition
knot_path.hpp:14
generator::knot_path_t::knot_path_t
knot_path_t(int p=2, int q=3, int segments=96)
Definition
knot_path.cpp:26
generator::knot_path_t::vertices_t
typename impl_t::vertices_t vertices_t
Definition
knot_path.hpp:32
generator::knot_path_t::vertices
vertices_t vertices() const noexcept
Definition
knot_path.hpp:34
generator::knot_path_t::edges_t
typename impl_t::edges_t edges_t
Definition
knot_path.hpp:25
generator::knot_path_t::edges
edges_t edges() const noexcept
Definition
knot_path.hpp:27
generator::parametric_path_t::edges_t
Definition
parametric_path.hpp:17
generator::parametric_path_t::vertices_t
Definition
parametric_path.hpp:34
generator::parametric_path_t
Path generated by evaluating callback functions at even intervals.
Definition
parametric_path.hpp:14
generator::parametric_path_t::edges
edges_t edges() const noexcept
Definition
parametric_path.cpp:61
generator::parametric_path_t::vertices
vertices_t vertices() const noexcept
Definition
parametric_path.cpp:66
extrude_mesh.hpp
generator
Definition
any_generator.hpp:7
parametric_path.hpp
segments
const segment_list * segments
Definition
text_component.cpp:442
UnravelEngine
UnravelEngine
engine
engine
rendering
generator
knot_path.hpp
Generated by
1.12.0