Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
quetzal::geography::torus Class Reference

#include <quetzal/geography/graph/detail/bound_policy.hpp>

Detailed Description

The 2D landscape becomes a 3D torus connecting opposed borders.

Public Member Functions

int constexpr num_extra_vertices () const
 
template<class Graph >
void operator() (typename Graph::vertex_descriptor s, Graph &graph, const two_dimensional auto &grid) const
 Connect edges of source vertex s in a graph given a spatial grid.
 

Member Function Documentation

◆ operator()()

template<class Graph >
void quetzal::geography::torus::operator() ( typename Graph::vertex_descriptor  s,
Graph &  graph,
const two_dimensional auto &  grid 
) const
inline

Connect edges of source vertex s in a graph given a spatial grid.

Template Parameters
EdgeProperty
GraphThe graph type
Parameters
sThe source vertex
graphThe graph to update
gridThe spatial grid

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