Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::scale_path_t< path_t > Class Template Reference

Scales a path. Keeps tangents and normals unit length. More...

#include <scale_path.hpp>

Public Types

using edges_t = typename impl_t::edges_t
 
using vertices_t = typename impl_t::vertices_t
 

Public Member Functions

 scale_path_t (path_t path, const gml::dvec3 &scale)
 
edges_t edges () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

template<typename path_t>
class generator::scale_path_t< path_t >

Scales a path. Keeps tangents and normals unit length.

Definition at line 11 of file scale_path.hpp.

Member Typedef Documentation

◆ edges_t

template<typename path_t >
using generator::scale_path_t< path_t >::edges_t = typename impl_t::edges_t

Definition at line 31 of file scale_path.hpp.

◆ vertices_t

template<typename path_t >
using generator::scale_path_t< path_t >::vertices_t = typename impl_t::vertices_t

Definition at line 38 of file scale_path.hpp.

Constructor & Destructor Documentation

◆ scale_path_t()

template<typename path_t >
generator::scale_path_t< path_t >::scale_path_t ( path_t path,
const gml::dvec3 & scale )
inline
Parameters
pathSource data path.
scaleScale Factor. Must not have zero components!

Definition at line 20 of file scale_path.hpp.

Member Function Documentation

◆ edges()

template<typename path_t >
edges_t generator::scale_path_t< path_t >::edges ( ) const
inlinenoexcept

Definition at line 33 of file scale_path.hpp.

◆ vertices()

template<typename path_t >
vertices_t generator::scale_path_t< path_t >::vertices ( ) const
inlinenoexcept

Definition at line 40 of file scale_path.hpp.


The documentation for this class was generated from the following file: