1 <?xml version='1.0' encoding='UTF-8' standalone='no'?>
2 <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
3 <compounddef id="classboost_1_1geometry_1_1model_1_1polygon" kind="class" prot="public">
4 <compoundname>boost::geometry::model::polygon</compoundname>
5 <includes local="no">polygon.hpp</includes>
9 <declname>Point</declname>
10 <defname>Point</defname>
14 <declname>ClockWise</declname>
15 <defname>ClockWise</defname>
20 <declname>Closed</declname>
21 <defname>Closed</defname>
25 <type>template< typename, typename > class</type>
26 <declname>PointList</declname>
27 <defname>PointList</defname>
28 <defval>std::vector</defval>
31 <type>template< typename, typename > class</type>
32 <declname>RingList</declname>
33 <defname>RingList</defname>
34 <defval>std::vector</defval>
37 <type>template< typename > class</type>
38 <declname>PointAlloc</declname>
39 <defname>PointAlloc</defname>
40 <defval>std::allocator</defval>
43 <type>template< typename > class</type>
44 <declname>RingAlloc</declname>
45 <defname>RingAlloc</defname>
46 <defval>std::allocator</defval>
49 <sectiondef kind="public-type">
50 <memberdef kind="typedef" id="classboost_1_1geometry_1_1model_1_1polygon_1a3333b0b9de742667d84f94706a853ae7" prot="public" static="no">
51 <type>RingList< <ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref>, RingAlloc< <ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref> > ></type>
52 <definition>typedef RingList<ring_type , RingAlloc<ring_type > > boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::inner_container_type</definition>
53 <argsstring></argsstring>
54 <name>inner_container_type</name>
58 </detaileddescription>
61 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="85" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="85" bodyend="-1"/>
63 <memberdef kind="typedef" id="classboost_1_1geometry_1_1model_1_1polygon_1a2967e76f11d21ce2b51d5e7ba661ec98" prot="public" static="no">
65 <definition>typedef Point boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::point_type</definition>
66 <argsstring></argsstring>
67 <name>point_type</name>
71 </detaileddescription>
74 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="83" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="83" bodyend="-1"/>
76 <memberdef kind="typedef" id="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" prot="public" static="no">
77 <type><ref refid="classboost_1_1geometry_1_1model_1_1ring" kindref="compound">ring</ref>< Point, ClockWise, Closed, PointList, PointAlloc ></type>
78 <definition>typedef ring<Point, ClockWise, Closed, PointList, PointAlloc> boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::ring_type</definition>
79 <argsstring></argsstring>
80 <name>ring_type</name>
84 </detaileddescription>
87 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="84" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="84" bodyend="-1"/>
90 <sectiondef kind="private-attrib">
91 <memberdef kind="variable" id="classboost_1_1geometry_1_1model_1_1polygon_1a7ff03febfd9163687b5693a74cef028a" prot="private" static="no" mutable="no">
92 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a3333b0b9de742667d84f94706a853ae7" kindref="member">inner_container_type</ref></type>
93 <definition>inner_container_type boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::m_inners</definition>
94 <argsstring></argsstring>
99 </detaileddescription>
102 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="144" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="144" bodyend="-1"/>
104 <memberdef kind="variable" id="classboost_1_1geometry_1_1model_1_1polygon_1a92c39346305aa94c89627f771b38fce0" prot="private" static="no" mutable="no">
105 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref></type>
106 <definition>ring_type boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::m_outer</definition>
107 <argsstring></argsstring>
111 <detaileddescription>
112 </detaileddescription>
115 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="143" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="143" bodyend="-1"/>
118 <sectiondef kind="private-func">
119 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a4fa0d51f003e50aed24e8dea20418b13" prot="private" static="no" const="no" explicit="no" inline="no" virt="non-virtual">
121 <definition>boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::BOOST_CONCEPT_ASSERT</definition>
122 <argsstring>((concepts::Point< Point >))</argsstring>
123 <name>BOOST_CONCEPT_ASSERT</name>
125 <type>(<ref refid="classboost_1_1geometry_1_1concepts_1_1_point" kindref="compound">concepts::Point</ref>< Point >)</type>
129 <detaileddescription>
130 </detaileddescription>
133 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="78" column="1"/>
136 <sectiondef kind="public-func">
137 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1aa1c33952047f12bed22862b634f885d8" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
139 <definition>void boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::clear</definition>
140 <argsstring>()</argsstring>
143 <para>Utility method, clears outer and inner rings. </para> </briefdescription>
144 <detaileddescription>
145 </detaileddescription>
148 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="135" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="135" bodyend="139"/>
150 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a06c92c4750c01e9f1ca8994bd4b476ad" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
151 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a3333b0b9de742667d84f94706a853ae7" kindref="member">inner_container_type</ref> const &</type>
152 <definition>inner_container_type const& boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::inners</definition>
153 <argsstring>() const </argsstring>
157 <detaileddescription>
158 </detaileddescription>
161 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="88" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="88" bodyend="88"/>
163 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a9920acd7487ef19f594dabc8cbb575ed" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
164 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a3333b0b9de742667d84f94706a853ae7" kindref="member">inner_container_type</ref> &</type>
165 <definition>inner_container_type& boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::inners</definition>
166 <argsstring>()</argsstring>
170 <detaileddescription>
171 </detaileddescription>
174 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="91" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="91" bodyend="91"/>
176 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a277ecfada807f6fc82883ffd6e52c920" prot="public" static="no" const="yes" explicit="no" inline="yes" virt="non-virtual">
177 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref> const &</type>
178 <definition>ring_type const& boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::outer</definition>
179 <argsstring>() const </argsstring>
183 <detaileddescription>
184 </detaileddescription>
187 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="87" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="87" bodyend="87"/>
189 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a85574defd31e3480021cb35dd8546dc3" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
190 <type><ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref> &</type>
191 <definition>ring_type& boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::outer</definition>
192 <argsstring>()</argsstring>
196 <detaileddescription>
197 </detaileddescription>
200 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="90" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="90" bodyend="90"/>
202 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a089990a65e206011b56b8b8e2bad9fa1" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
204 <definition>boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::polygon</definition>
205 <argsstring>()</argsstring>
208 <para>Default constructor, creating an empty polygon. </para> </briefdescription>
209 <detaileddescription>
210 </detaileddescription>
213 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="99" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="99" bodyend="102"/>
215 <memberdef kind="function" id="classboost_1_1geometry_1_1model_1_1polygon_1a9835cc906e4819930a9ae1ef55af3df1" prot="public" static="no" const="no" explicit="no" inline="yes" virt="non-virtual">
217 <definition>boost::geometry::model::polygon< Point, ClockWise, Closed, PointList, RingList, PointAlloc, RingAlloc >::polygon</definition>
218 <argsstring>(std::initializer_list< ring_type > l)</argsstring>
221 <type>std::initializer_list< <ref refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" kindref="member">ring_type</ref> ></type>
222 <declname>l</declname>
225 <para>Constructor taking std::initializer_list, filling the polygon. </para> </briefdescription>
226 <detaileddescription>
227 </detaileddescription>
230 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="105" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="105" bodyend="108"/>
234 <para>The polygon contains an outer ring and zero or more inner rings. </para> </briefdescription>
235 <detaileddescription>
236 <para><parameterlist kind="templateparam"><parameteritem>
238 <parametername>Point</parametername>
240 <parameterdescription>
241 <para>point type </para></parameterdescription>
245 <parametername>ClockWise</parametername>
247 <parameterdescription>
248 <para>true for clockwise direction, false for CounterClockWise direction </para></parameterdescription>
252 <parametername>Closed</parametername>
254 <parameterdescription>
255 <para>true for closed polygons (last point == first point), false open points </para></parameterdescription>
259 <parametername>PointList</parametername>
261 <parameterdescription>
262 <para>container type for points, for example std::vector, std::list, std::deque </para></parameterdescription>
266 <parametername>RingList</parametername>
268 <parameterdescription>
269 <para>container type for inner rings, for example std::vector, std::list, std::deque </para></parameterdescription>
273 <parametername>PointAlloc</parametername>
275 <parameterdescription>
276 <para>container-allocator-type, for the points </para></parameterdescription>
280 <parametername>RingAlloc</parametername>
282 <parameterdescription>
283 <para>container-allocator-type, for the rings </para></parameterdescription>
286 <simplesect kind="note"><para>The container collecting the points in the rings can be different from the container collecting the inner rings. They all default to vector.</para></simplesect>
287 <qbk>[include reference/geometries/polygon.qbk]</qbk> <qbk.before.synopsis>
289 [link geometry.reference.concepts.concept_polygon Polygon Concept]
290 </qbk.before.synopsis> </para> </detaileddescription>
291 <location file="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" line="77" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/geometries/polygon.hpp" bodystart="76" bodyend="145"/>
293 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a4fa0d51f003e50aed24e8dea20418b13" prot="private" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>BOOST_CONCEPT_ASSERT</name></member>
294 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1aa1c33952047f12bed22862b634f885d8" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>clear</name></member>
295 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a3333b0b9de742667d84f94706a853ae7" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>inner_container_type</name></member>
296 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a06c92c4750c01e9f1ca8994bd4b476ad" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>inners</name></member>
297 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a9920acd7487ef19f594dabc8cbb575ed" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>inners</name></member>
298 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a7ff03febfd9163687b5693a74cef028a" prot="private" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>m_inners</name></member>
299 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a92c39346305aa94c89627f771b38fce0" prot="private" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>m_outer</name></member>
300 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a277ecfada807f6fc82883ffd6e52c920" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>outer</name></member>
301 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a85574defd31e3480021cb35dd8546dc3" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>outer</name></member>
302 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a2967e76f11d21ce2b51d5e7ba661ec98" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>point_type</name></member>
303 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a089990a65e206011b56b8b8e2bad9fa1" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>polygon</name></member>
304 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a9835cc906e4819930a9ae1ef55af3df1" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>polygon</name></member>
305 <member refid="classboost_1_1geometry_1_1model_1_1polygon_1a570d62b2dd33ac4269a0b559cb3b18fb" prot="public" virt="non-virtual"><scope>boost::geometry::model::polygon</scope><name>ring_type</name></member>