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
6namespace generator
7{
8
12{
13private:
15 impl_t parametric_path_;
16
17public:
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
37
38 vertices_t vertices() const noexcept
39 {
40 return parametric_path_.vertices();
41 }
42};
43} // namespace generator
44
45#endif
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
typename impl_t::vertices_t vertices_t
edges_t edges() const noexcept
vertices_t vertices() const noexcept
typename impl_t::edges_t edges_t
Path generated by evaluating callback functions at even intervals.
edges_t edges() const noexcept
vertices_t vertices() const noexcept
const segment_list * segments