Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::CA::ca_svg_detail Namespace Reference

Classes

struct  Bounds
 

Functions

std::string rgb_hex (const RGB8 c)
 
void write_svg_header (std::ostream &out, const Bounds &b, const SVG_Render_Options &opts)
 
void write_style (std::ostream &out, const SVG_Render_Options &opts)
 
void write_points (std::ostream &out, const Array< std::array< double, 2 > > &pts)
 
Array< std::array< double, 2 > > hex_points (Hex_Axial a, const double radius)
 
Array< std::array< double, 2 > > tri_points (Tri_Coord c, const double side)
 

Function Documentation

◆ hex_points()

Array< std::array< double, 2 > > Aleph::CA::ca_svg_detail::hex_points ( Hex_Axial  a,
const double  radius 
)
inline

◆ rgb_hex()

std::string Aleph::CA::ca_svg_detail::rgb_hex ( const RGB8  c)
inline

◆ tri_points()

Array< std::array< double, 2 > > Aleph::CA::ca_svg_detail::tri_points ( Tri_Coord  c,
const double  side 
)
inline

◆ write_points()

void Aleph::CA::ca_svg_detail::write_points ( std::ostream &  out,
const Array< std::array< double, 2 > > &  pts 
)
inline

Definition at line 136 of file ca-svg.H.

References Aleph::blossom_maximum_cardinality_matching(), and out.

◆ write_style()

void Aleph::CA::ca_svg_detail::write_style ( std::ostream &  out,
const SVG_Render_Options &  opts 
)
inline

Definition at line 127 of file ca-svg.H.

References Aleph::blossom_maximum_cardinality_matching(), out, and rgb_hex().

◆ write_svg_header()