Libosmium  2.1.0
Fast and flexible C++ library for working with OpenStreetMap data
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
osmium::geometry_error Struct Reference

#include <factory.hpp>

Inheritance diagram for osmium::geometry_error:
Inheritance graph
[legend]
Collaboration diagram for osmium::geometry_error:
Collaboration graph
[legend]

Public Member Functions

 geometry_error (const std::string &what)
 
 geometry_error (const char *what)
 

Detailed Description

Exception thrown when an invalid geometry is encountered. An example would be a linestring with less than two points.

Constructor & Destructor Documentation

osmium::geometry_error::geometry_error ( const std::string &  what)
inline
osmium::geometry_error::geometry_error ( const char *  what)
inline

The documentation for this struct was generated from the following file: