![]() |
![]() |
Centroid Exception. More...
Public Member Functions | |
centroid_exception () | |
The default constructor. More... | |
virtual char const * | what () const throw () |
Returns the explanatory string. More... | |
Centroid Exception.
The centroid_exception is thrown if the free centroid function is called with geometries for which the centroid cannot be calculated. For example: a linestring without points, a polygon without points, an empty multi-geometry.
boost::geometry::centroid_exception::centroid_exception | ( | ) |
The default constructor.
|
virtual |
Returns the explanatory string.
Reimplemented from boost::geometry::exception.
April 2, 2011 |
Copyright © 2007-2011 Barend Gehrels, Amsterdam, the Netherlands Copyright © 2008-2011 Bruno Lalande, Paris, France Copyright © 2009-2010 Mateusz Loskot, London, UK |