Pathfinder
Namespaces | Functions
TupleAccess.h File Reference

This file declares all functionality related to providing random access to tuples containing various data types. More...

#include <vector>
#include "Line2.h"
Include dependency graph for TupleAccess.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Pathfinder
 

Functions

float Pathfinder::gettValue (const std::tuple< float, float, float, float, float, float > &tValues, const short &idx)
 Access the element at index idx. More...
 
std::vector< short > Pathfinder::gettValueIndexCategoryVector (const std::tuple< std::vector< short >, std::vector< short >, std::vector< short >, std::vector< short >, std::vector< short >> &categorizedtValueIndices, const short &idx)
 Access the element at index idx. More...
 
Line2 Pathfinder::getLine2 (const std::tuple< Line2, Line2, Line2 > &lines, const short &idx)
 Access the element at index idx. More...
 
bool * Pathfinder::getBoolPtr (std::tuple< bool, bool, bool > &boolTuple, const short &idx)
 Access the element at index idx and return a pointer to it. More...
 
short * Pathfinder::getShortPtr (std::tuple< short, short, short > &shortTuple, const short &idx)
 Access the element at index idx and return a pointer to it. More...
 
boost::optional< float > Pathfinder::getOptionalFloat (const std::tuple< boost::optional< float >, boost::optional< float >, boost::optional< float >> &optionalFloatTuple, const short &idx)
 Access the element at index idx. More...
 
bool Pathfinder::getBool (const std::tuple< bool, bool, bool > &boolTuple, const short &idx)
 Access the element at index idx. More...
 
Geometry::Vec3 Pathfinder::getTriVertex (const std::tuple< Geometry::Vec3, Geometry::Vec3, Geometry::Vec3 > &tri, const short &idx)
 Access the vertex at index idx. More...
 
Geometry::Vec2 Pathfinder::getFlatTriVertex (const std::tuple< Geometry::Vec2, Geometry::Vec2, Geometry::Vec2 > &tri, const short &idx)
 Access the vertex at index idx. More...
 

Detailed Description

This file declares all functionality related to providing random access to tuples containing various data types.

Author
Jan-Luca Hansel