• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[/============================================================================
2  Boost.Geometry (aka GGL, Generic Geometry Library)
3
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.
7
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=============================================================================/]
12
13
14[/ Generated by doxygen_xml2qbk 1.1.1, don't change, will be overwritten automatically]
15[/ Generated from doxy/doxygen_output/xml/group__is__simple.xml]
16[section:is_simple_2_with_strategy is_simple (with strategy)]
17
18'''<indexterm><primary>is_simple</primary></indexterm>'''
19Checks if a geometry is simple.
20
21[heading Synopsis]
22``template<typename Geometry, typename Strategy>
23bool is_simple(Geometry const & geometry, Strategy const & strategy)``
24
25[heading Parameters]
26
27[table
28[[Type] [Concept] [Name] [Description] ]
29[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
30[[Strategy const &] [Any type fulfilling a Is_simple Strategy Concept ] [strategy] [The strategy which will be used for is_simple calculations ]]
31]
32
33
34[heading Returns]
35Returns true if the geometry is simple
36
37[heading Header]
38Either
39
40`#include <boost/geometry.hpp>`
41
42
43Or
44
45`#include <boost/geometry/algorithms/is_simple.hpp>`
46
47[include reference/algorithms/is_simple.qbk]
48
49
50[endsect]
51
52[section:is_simple_1 is_simple]
53
54'''<indexterm><primary>is_simple</primary></indexterm>'''
55Checks if a geometry is simple.
56
57[heading Synopsis]
58``template<typename Geometry>
59bool is_simple(Geometry const & geometry)``
60
61[heading Parameters]
62
63[table
64[[Type] [Concept] [Name] [Description] ]
65[[Geometry const &] [Any type fulfilling a Geometry Concept ] [geometry] [A model of the specified concept ]]
66]
67
68
69[heading Returns]
70Returns true if the geometry is simple
71
72[heading Header]
73Either
74
75`#include <boost/geometry.hpp>`
76
77
78Or
79
80`#include <boost/geometry/algorithms/is_simple.hpp>`
81
82[include reference/algorithms/is_simple.qbk]
83
84
85[endsect]
86
87