1 [/============================================================================
2 Boost.Geometry (aka GGL, Generic Geometry Library)
4 Copyright (c) 2007-2013 Barend Gehrels, Amsterdam, the Netherlands.
5 Copyright (c) 2008-2013 Bruno Lalande, Paris, France.
6 Copyright (c) 2009-2013 Mateusz Loskot, London, UK.
8 Use, modification and distribution is subject to the Boost Software License,
9 Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
10 http://www.boost.org/LICENSE_1_0.txt)
11 =============================================================================/]
14 [/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15 [/ Generated from doxy/doxygen_output/xml/group__equals.xml]
16 [section:equals_3_with_strategy equals (with strategy)]
18 '''<indexterm><primary>equals</primary></indexterm>'''
19 Checks if a geometry are spatially equal.
22 The free function equals checks if the first geometry is spatially equal the second geometry. Spatially equal means that the same point set is included. A box can therefore be spatially equal to a ring or a polygon, or a linestring can be spatially equal to a multi-linestring or a segment. This only works theoretically, not all combinations are implemented yet.
25 ``template<typename Geometry1, typename Geometry2, typename Strategy>
26 bool equals(Geometry1 const & geometry1, Geometry2 const & geometry2, Strategy const & strategy)``
31 [[Type] [Concept] [Name] [Description] ]
32 [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
33 [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
34 [[Strategy const &] [Any type fulfilling a Equals Strategy Concept ] [strategy] [The strategy which will be used for equals calculations ]]
39 Returns true if two geometries are spatially equal
44 `#include <boost/geometry.hpp>`
49 `#include <boost/geometry/algorithms/equals.hpp>`
51 [include reference/algorithms/equals.qbk]
56 [section:equals_2 equals]
58 '''<indexterm><primary>equals</primary></indexterm>'''
59 Checks if a geometry are spatially equal.
62 The free function equals checks if the first geometry is spatially equal the second geometry. Spatially equal means that the same point set is included. A box can therefore be spatially equal to a ring or a polygon, or a linestring can be spatially equal to a multi-linestring or a segment. This only works theoretically, not all combinations are implemented yet.
65 ``template<typename Geometry1, typename Geometry2>
66 bool equals(Geometry1 const & geometry1, Geometry2 const & geometry2)``
71 [[Type] [Concept] [Name] [Description] ]
72 [[Geometry1 const &] [Any type fulfilling a Geometry Concept ] [geometry1] [A model of the specified concept ]]
73 [[Geometry2 const &] [Any type fulfilling a Geometry Concept ] [geometry2] [A model of the specified concept ]]
78 Returns true if two geometries are spatially equal
83 `#include <boost/geometry.hpp>`
88 `#include <boost/geometry/algorithms/equals.hpp>`
90 [include reference/algorithms/equals.qbk]