CARLA
Namespaces | Typedefs | Functions | Variables
GraphGenerator.cpp File Reference
#include "Carla.h"
#include "GraphGenerator.h"
#include <vector>
+ Include dependency graph for GraphGenerator.cpp:

Go to the source code of this file.

Namespaces

 MapGen
 

Typedefs

using MapGen::Graph = DoublyConnectedEdgeList
 

Functions

static Graph::Position MapGen::getDirection (const Graph::HalfEdge &edge)
 
static std::pair< Graph::HalfEdge *, Graph::HalfEdge * > MapGen::getRandomOpposingEdges (Graph::Face &face, FRandomStream &random)
 
static const Graph::PositionMapGen::getSourcePosition (const Graph::HalfEdge &edge)
 
static const Graph::PositionMapGen::getTargetPosition (const Graph::HalfEdge &edge)
 
static void MapGen::randomize (Graph &graph, const int32 seed)
 
static int32 MapGen::signOf (int32 val)
 
static Graph::Face * MapGen::splitFace (Graph &graph, Graph::Face &face, FRandomStream &random)
 

Variables

static constexpr int32 MapGen::MARGIN = 6