Unravel Engine C++ Reference
Loading...
Searching...
No Matches
generator::knot_path_t Class Reference

#include <knot_path.hpp>

Public Types

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

Public Member Functions

 knot_path_t (int p=2, int q=3, int segments=96)
 
edges_t edges () const noexcept
 
vertices_t vertices () const noexcept
 

Detailed Description

A circle winding multiple times around.

Definition at line 13 of file knot_path.hpp.

Member Typedef Documentation

◆ edges_t

Definition at line 25 of file knot_path.hpp.

◆ vertices_t

Definition at line 32 of file knot_path.hpp.

Constructor & Destructor Documentation

◆ knot_path_t()

knot_path_t::knot_path_t ( int p = 2,
int q = 3,
int segments = 96 )
Parameters
qTimes around a circle
pTimes around z axis
segmentsNumber of subdivisions along the path.

Definition at line 26 of file knot_path.cpp.

Member Function Documentation

◆ edges()

edges_t generator::knot_path_t::edges ( ) const
inlinenoexcept

Definition at line 27 of file knot_path.hpp.

◆ vertices()

vertices_t generator::knot_path_t::vertices ( ) const
inlinenoexcept

Definition at line 34 of file knot_path.hpp.


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