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

#include <shape_to_path.hpp>

Classes

class  vertices_t
 

Public Types

using edges_t = typename impl_t::edges_t
 

Public Member Functions

 shape_to_path_t (shape_t shape)
 
edges_t edges () const noexcept
 
vertices_t vertices () const
 

Detailed Description

template<typename shape_t>
class generator::shape_to_path_t< shape_t >

Converts a shape_t to a Path. The shape position coordinates are used as the x and y and 0 is used as z. shape_t tangent becomes the path tangent and z-axis becomes normal vector and thus the shape normal becomes the path binormal.

Definition at line 16 of file shape_to_path.hpp.

Member Typedef Documentation

◆ edges_t

template<typename shape_t >
using generator::shape_to_path_t< shape_t >::edges_t = typename impl_t::edges_t

Definition at line 66 of file shape_to_path.hpp.

Constructor & Destructor Documentation

◆ shape_to_path_t()

template<typename shape_t >
generator::shape_to_path_t< shape_t >::shape_to_path_t ( shape_t shape)
inline

Definition at line 62 of file shape_to_path.hpp.

Member Function Documentation

◆ edges()

template<typename shape_t >
edges_t generator::shape_to_path_t< shape_t >::edges ( ) const
inlinenoexcept

Definition at line 68 of file shape_to_path.hpp.

◆ vertices()

template<typename shape_t >
vertices_t generator::shape_to_path_t< shape_t >::vertices ( ) const
inline

Definition at line 73 of file shape_to_path.hpp.


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