GlistEngine
Loading...
Searching...
No Matches
gPath Class Reference

#include <gPath.h>

Classes

class  gSubPath

Public Member Functions

 gPath ()
virtual ~gPath ()
void clear ()
void addSubPath (const gSubPath &subpath)
void addSubPath (gLine &line, int pointcount)
void addSubPath (gArc &arc, int pointcount)
void addSubPath (const gBezier &bezier, int pointcount)
void addSubPath (const gPath &path, int pointcount)
void addSubPath (const gBezierQuad &bezierquad, int pointcount)
int getSubPathCount () const
int getPointCount () const
glm::vec3 getPoint (int pointno)
glm::vec3 getPoint (int subpathno, int subpathpointno)
const std::vector< gSubPath > & getSubPaths () const
std::vector< glm::vec3 > getPoints () const
bool hasNextPoint () const
glm::vec3 getNextPoint ()
void reset ()

Constructor & Destructor Documentation

◆ gPath()

gPath::gPath ( )

◆ ~gPath()

virtual gPath::~gPath ( )
virtual

Member Function Documentation

◆ addSubPath() [1/6]

void gPath::addSubPath ( const gBezier & bezier,
int pointcount )

◆ addSubPath() [2/6]

void gPath::addSubPath ( const gBezierQuad & bezierquad,
int pointcount )

◆ addSubPath() [3/6]

void gPath::addSubPath ( const gPath & path,
int pointcount )

◆ addSubPath() [4/6]

void gPath::addSubPath ( const gSubPath & subpath)

◆ addSubPath() [5/6]

void gPath::addSubPath ( gArc & arc,
int pointcount )

◆ addSubPath() [6/6]

void gPath::addSubPath ( gLine & line,
int pointcount )

◆ clear()

void gPath::clear ( )

◆ getNextPoint()

glm::vec3 gPath::getNextPoint ( )

◆ getPoint() [1/2]

glm::vec3 gPath::getPoint ( int pointno)

◆ getPoint() [2/2]

glm::vec3 gPath::getPoint ( int subpathno,
int subpathpointno )

◆ getPointCount()

int gPath::getPointCount ( ) const

◆ getPoints()

std::vector< glm::vec3 > gPath::getPoints ( ) const

◆ getSubPathCount()

int gPath::getSubPathCount ( ) const

◆ getSubPaths()

const std::vector< gSubPath > & gPath::getSubPaths ( ) const

◆ hasNextPoint()

bool gPath::hasNextPoint ( ) const

◆ reset()

void gPath::reset ( )

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