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

#include <gPath.h>

Public Types

enum  Type {
  TYPE_LINE , TYPE_ARC , TYPE_BEZIER , TYPE_BEZIERQUAD ,
  TYPE_PATH
}

Public Member Functions

 gSubPath (gLine &line, int pointcount)
 gSubPath (gArc &arc, int pointcount)
 gSubPath (const gBezier &bezier, int pointcount)
 gSubPath (const gPath &path, int pointcount)
 gSubPath (const gBezierQuad &bezierquad, int pointcount)
Type getType () const
int getPointCount () const
glm::vec3 getPoint (int pointno)
const std::vector< glm::vec3 > & getPoints () const
bool hasNextPoint () const
glm::vec3 getNextPoint ()
void reset ()

Member Enumeration Documentation

◆ Type

Enumerator
TYPE_LINE 
TYPE_ARC 
TYPE_BEZIER 
TYPE_BEZIERQUAD 
TYPE_PATH 

Constructor & Destructor Documentation

◆ gSubPath() [1/5]

gPath::gSubPath::gSubPath ( gLine & line,
int pointcount )

◆ gSubPath() [2/5]

gPath::gSubPath::gSubPath ( gArc & arc,
int pointcount )

◆ gSubPath() [3/5]

gPath::gSubPath::gSubPath ( const gBezier & bezier,
int pointcount )

◆ gSubPath() [4/5]

gPath::gSubPath::gSubPath ( const gPath & path,
int pointcount )

◆ gSubPath() [5/5]

gPath::gSubPath::gSubPath ( const gBezierQuad & bezierquad,
int pointcount )

Member Function Documentation

◆ getNextPoint()

glm::vec3 gPath::gSubPath::getNextPoint ( )

◆ getPoint()

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

◆ getPointCount()

int gPath::gSubPath::getPointCount ( ) const

◆ getPoints()

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

◆ getType()

Type gPath::gSubPath::getType ( ) const

◆ hasNextPoint()

bool gPath::gSubPath::hasNextPoint ( ) const

◆ reset()

void gPath::gSubPath::reset ( )

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