Pathfinder
Namespaces | Functions
TupleAccess.cpp File Reference

This file implements all functionality declared in TupleAccess.h. More...

#include <spdlog/spdlog.h>
#include <spdlog/sinks/basic_file_sink.h>
#include <spdlog/stopwatch.h>
#include <spdlog/fmt/chrono.h>
#include "TupleAccess.h"
Include dependency graph for TupleAccess.cpp:

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 implements all functionality declared in TupleAccess.h.

Author
Jan-Luca Hansel