Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
regular_polygon_msan_probe.cc
Go to the documentation of this file.
1#include <polygon.H>
2
3using namespace Aleph;
4
6int main()
7{
8 const Regular_Polygon polygon;
9 if (polygon.size() != 0 or polygon.get_side_size() != 0 or
10 polygon.radius() != 0 or polygon.is_closed())
11 return 1;
12 return 0;
13}
A regular polygon defined by center, side length, and vertex count.
Definition polygon.H:1135
const size_t & size() const
Get the number of vertices.
Definition polygon.H:1196
const double & get_side_size() const
Get the side length.
Definition polygon.H:1188
bool is_closed() const noexcept
Check if the polygon is a valid closed regular polygon.
Definition polygon.H:1207
const double & radius() const
Get the circumradius.
Definition polygon.H:1200
size_t blossom_maximum_cardinality_matching(const GT &g, DynDlist< typename GT::Arc * > &matching, SA sa=SA())
Alias of compute_maximum_cardinality_general_matching().
Definition Blossom.H:466
Main namespace for Aleph-w library functions.
Definition ah-arena.H:89
2D polygon representation and geometric operations.
int main()
Read every observable scalar in the default polygon under MSan.