GitHub link
The Polygon Mesh Processing Library
Version Class Reference

API version information.

#include <pmp/Version.h>

Static Public Member Functions

static int get_major ()
 return the major version number
static int get_minor ()
 return the minor version number
static int get_patch ()
 return the patch version number
static std::string get_version ()
 return the current API version number as a string
static bool is_at_least (int major, int minor, int patch)
 return true if the current version >= (major, minor, patch)
static bool has_feature (const std::string &name)
 return true if the named feature is available in this version