[/============================================================================ Boost.Geometry (aka GGL, Generic Geometry Library) Copyright (c) 2009-2011 Barend Gehrels, Geodan, Amsterdam, the Netherlands. Copyright (c) 2009-2011 Mateusz Loskot (mateusz@loskot.net) Copyright (c) 2009-2011 Bruno Lalande, Paris, France. Use, modification and distribution is subject to the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) =============================================================================/] [heading Behavior] [table [[Case] [Behavior] ] [[__point__][Returns the point itself as the centroid]] [[__multi_point__][Calculates centroid]] [[__1dim__][Calculates centroid]] [[__2dim__][Calculates centroid]] [[__empty__][Throws a [link geometry.reference.exceptions.centroid_exception centroid_exception] ]] ] [heading Complexity] Linear