Unravel Engine C++ Reference
Loading...
Searching...
No Matches
line_path.hpp
Go to the documentation of this file.
1
#ifndef GENERATOR_LINEPATH_HPP
2
#define GENERATOR_LINEPATH_HPP
3
4
#include "
parametric_path.hpp
"
5
6
namespace
generator
7
{
8
11
class
line_path_t
12
{
13
private
:
14
using
impl_t
=
parametric_path_t
;
15
impl_t
parametric_path_;
16
17
public
:
22
line_path_t
(
const
gml::dvec3& start = {0.0, 0.0, -1.0},
23
const
gml::dvec3&
end
= {0.0, 0.0, 1.0},
24
const
gml::dvec3&
normal
= {1.0, 0.0, 0.0},
25
int
segments
= 8);
26
27
using
edges_t
=
typename
impl_t::edges_t
;
28
29
edges_t
edges
() const noexcept
30
{
31
return
parametric_path_.
edges
();
32
}
33
34
using
vertices_t
=
typename
impl_t::vertices_t
;
35
36
vertices_t
vertices
() const noexcept
37
{
38
return
parametric_path_.
vertices
();
39
}
40
};
41
}
// namespace generator
42
43
#endif
normal
btVector3 normal
Definition
bullet_backend.cpp:550
generator::line_path_t
Definition
line_path.hpp:12
generator::line_path_t::vertices
vertices_t vertices() const noexcept
Definition
line_path.hpp:36
generator::line_path_t::edges_t
typename impl_t::edges_t edges_t
Definition
line_path.hpp:27
generator::line_path_t::vertices_t
typename impl_t::vertices_t vertices_t
Definition
line_path.hpp:34
generator::line_path_t::line_path_t
line_path_t(const gml::dvec3 &start={0.0, 0.0, -1.0}, const gml::dvec3 &end={0.0, 0.0, 1.0}, const gml::dvec3 &normal={1.0, 0.0, 0.0}, int segments=8)
Definition
line_path.cpp:5
generator::line_path_t::edges
edges_t edges() const noexcept
Definition
line_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
generator::end
gen_iterator_t< generator_t > end(const generator_t &) noexcept
Returns a dummy end iterator.
Definition
iterator.hpp:104
parametric_path.hpp
segments
const segment_list * segments
Definition
text_component.cpp:442
UnravelEngine
UnravelEngine
engine
engine
rendering
generator
line_path.hpp
Generated by
1.12.0