Unravel Engine C++ Reference
Loading...
Searching...
No Matches
helix_path.hpp
Go to the documentation of this file.
1
#ifndef GENERATOR_HELIXPATH_HPP
2
#define GENERATOR_HELIXPATH_HPP
3
4
#include "
parametric_path.hpp
"
5
6
namespace
generator
7
{
8
11
class
helix_path_t
12
{
13
private
:
14
using
impl_t
=
parametric_path_t
;
15
impl_t
parametric_path_;
16
17
public
:
23
helix_path_t
(
double
radius = 1.0,
24
double
size
= 1.0,
25
int
segments
= 32,
26
double
start = 0.0,
27
double
sweep = gml::radians(720.0));
28
29
using
edges_t
=
typename
impl_t::edges_t
;
30
31
edges_t
edges
() const noexcept
32
{
33
return
parametric_path_.
edges
();
34
}
35
36
using
vertices_t
=
typename
impl_t::vertices_t
;
37
38
vertices_t
vertices
() const noexcept
39
{
40
return
parametric_path_.
vertices
();
41
}
42
};
43
}
// namespace generator
44
45
#endif
generator::helix_path_t
Definition
helix_path.hpp:12
generator::helix_path_t::helix_path_t
helix_path_t(double radius=1.0, double size=1.0, int segments=32, double start=0.0, double sweep=gml::radians(720.0))
Definition
helix_path.cpp:5
generator::helix_path_t::vertices_t
typename impl_t::vertices_t vertices_t
Definition
helix_path.hpp:36
generator::helix_path_t::edges
edges_t edges() const noexcept
Definition
helix_path.hpp:31
generator::helix_path_t::vertices
vertices_t vertices() const noexcept
Definition
helix_path.hpp:38
generator::helix_path_t::edges_t
typename impl_t::edges_t edges_t
Definition
helix_path.hpp:29
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
generator
Definition
any_generator.hpp:7
parametric_path.hpp
segments
const segment_list * segments
Definition
text_component.cpp:442
size
Definition
basetypes.hpp:43
UnravelEngine
UnravelEngine
engine
engine
rendering
generator
helix_path.hpp
Generated by
1.12.0