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

Classes

struct  SvgScene
 

Functions

std::string sanitize_filename (const std::string &raw)
 
std::string xml_escape (const std::string &s)
 
std::filesystem::path golden_output_dir ()
 
void add_polygon_vertices (SvgScene &scene, const ::Polygon &poly, const bool as_highlight=false)
 
void collect_scene_points (const SvgScene &scene, ::Array<::Point > &all_points)
 
std::filesystem::path emit_case_svg (const std::string &case_id, const SvgScene &scene, const std::string &note="")
 

Function Documentation

◆ add_polygon_vertices()

void Aleph::TestVisual::add_polygon_vertices ( SvgScene scene,
const ::Polygon poly,
const bool  as_highlight = false 
)
inline

◆ collect_scene_points()

void Aleph::TestVisual::collect_scene_points ( const SvgScene scene,
::Array<::Point > &  all_points 
)
inline

Definition at line 115 of file geometry_visual_golden.h.

References Aleph::divide_and_conquer_partition_dp().

Referenced by emit_case_svg().

◆ emit_case_svg()

std::filesystem::path Aleph::TestVisual::emit_case_svg ( const std::string &  case_id,
const SvgScene scene,
const std::string &  note = "" 
)
inline

◆ golden_output_dir()

std::filesystem::path Aleph::TestVisual::golden_output_dir ( )
inline

Definition at line 92 of file geometry_visual_golden.h.

References Aleph::and, and Aleph::divide_and_conquer_partition_dp().

Referenced by emit_case_svg().

◆ sanitize_filename()

std::string Aleph::TestVisual::sanitize_filename ( const std::string &  raw)
inline

◆ xml_escape()

std::string Aleph::TestVisual::xml_escape ( const std::string &  s)
inline

Definition at line 72 of file geometry_visual_golden.h.

References Aleph::divide_and_conquer_partition_dp().

Referenced by emit_case_svg().