Math2d is a simple general purpose mathematical library written in C++. Mainly Math2d contains functions and classes for work with generic mathematical entities (such as points, vectors and coordinate systems) and parametric curves (such as segments, arcs or Bezier curves). It also contains real values comparison functions, round function (missing in standart library), factorial calculator and bunch of other utilities in addition.