Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::TriRenderable Concept Reference

Detect whether a lattice exposes the triangular-grid query interface (rows(), cols(), at_tri(Tri_Coord)) used by the SVG and TikZ triangular renderers. More...

#include <tpl_ca_concepts.H>

Concept definition

template<typename Lattice>
concept Aleph::CA::TriRenderable = requires(const Lattice &lat) {
lat.rows();
lat.cols();
lat.at_tri(std::declval<Tri_Coord>());
}
Detect whether a lattice exposes the triangular-grid query interface (rows(), cols(),...

Detailed Description

Detect whether a lattice exposes the triangular-grid query interface (rows(), cols(), at_tri(Tri_Coord)) used by the SVG and TikZ triangular renderers.

Definition at line 267 of file tpl_ca_concepts.H.