CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshGenerator::LinePath Class Reference

A path from point to point. More...

#include <CeresEngine/Mesh/Generator/LinePath.hpp>

Public Types

using Edges = typename Impl::Edges
 
using Vertices = typename Impl::Vertices
 

Public Member Functions

 LinePath (const Vector3 &start={0.0, 0.0, -1.0}, const Vector3 &end={0.0, 0.0, 1.0}, const Vector3 &normal={1.0, 0.0, 0.0}, int segments=8)
 
Edges edges () const noexcept
 
Vertices vertices () const noexcept
 

Private Types

using Impl = ParametricPath
 

Private Attributes

Impl mParametricPath
 

Detailed Description

A path from point to point.

Member Typedef Documentation

◆ Edges

◆ Impl

◆ Vertices

Constructor & Destructor Documentation

◆ LinePath()

CeresEngine::MeshGenerator::LinePath::LinePath ( const Vector3 start = {0.0, 0.0, -1.0},
const Vector3 end = {0.0, 0.0, 1.0},
const Vector3 normal = {1.0, 0.0, 0.0},
int  segments = 8 
)
Parameters
startStart point of the line.
endEnd point of the line.
normalLine normal. Should be parallel to the line.
segmentsNumber of subdivisions along the line.

Member Function Documentation

◆ edges()

Edges CeresEngine::MeshGenerator::LinePath::edges ( ) const
inlinenoexcept

◆ vertices()

Vertices CeresEngine::MeshGenerator::LinePath::vertices ( ) const
inlinenoexcept

Member Data Documentation

◆ mParametricPath

Impl CeresEngine::MeshGenerator::LinePath::mParametricPath
private

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