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_1strategy_1_1centroid_1_1bashein__detmer" kind="class" prot="public">
4 <compoundname>boost::geometry::strategy::centroid::bashein_detmer</compoundname>
5 <includes local="no">centroid_bashein_detmer.hpp</includes>
6 <innerclass refid="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1_1sums" prot="private">boost::geometry::strategy::centroid::bashein_detmer::sums</innerclass>
9 <type>typename Point</type>
12 <type>typename PointOfSegment</type>
13 <defval>Point</defval>
16 <type>typename CalculationType</type>
20 <sectiondef kind="private-type">
21 <memberdef kind="typedef" id="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a9e09dd4618f4143f02ebdfd3d255564b" prot="private" static="no">
22 <type>boost::mpl::if_c< boost::is_void< CalculationType >::type::value, typename <ref refid="structboost_1_1geometry_1_1select__most__precise" kindref="compound">select_most_precise</ref>< typename <ref refid="structboost_1_1geometry_1_1select__coordinate__type" kindref="compound">select_coordinate_type</ref>< Point, PointOfSegment >::type, double >::type, CalculationType >::type</type>
23 <definition>typedef boost::mpl::if_c< boost::is_void<CalculationType>::type::value, typename select_most_precise < typename select_coordinate_type < Point, PointOfSegment >::type, double >::type, CalculationType >::type boost::geometry::strategy::centroid::bashein_detmer< Point, PointOfSegment, CalculationType >::calculation_type</definition>
24 <argsstring></argsstring>
25 <name>calculation_type</name>
29 </detaileddescription>
32 <location file="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" line="148" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" bodystart="148" bodyend="-1"/>
35 <sectiondef kind="public-type">
36 <memberdef kind="typedef" id="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a1d72fc25ea074c7ff644c192f78480d3" prot="public" static="no">
38 <definition>typedef sums boost::geometry::strategy::centroid::bashein_detmer< Point, PointOfSegment, CalculationType >::state_type</definition>
39 <argsstring></argsstring>
40 <name>state_type</name>
44 </detaileddescription>
47 <location file="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" line="169" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" bodystart="169" bodyend="-1"/>
50 <sectiondef kind="public-static-func">
51 <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a3ac9cabcaceb2dd6691c043c90956164" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
53 <definition>static void boost::geometry::strategy::centroid::bashein_detmer< Point, PointOfSegment, CalculationType >::apply</definition>
54 <argsstring>(PointOfSegment const &p1, PointOfSegment const &p2, sums &state)</argsstring>
57 <type>PointOfSegment const &</type>
58 <declname>p1</declname>
61 <type>PointOfSegment const &</type>
62 <declname>p2</declname>
65 <type>sums &</type>
66 <declname>state</declname>
71 </detaileddescription>
74 <location file="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" line="171" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" bodystart="171" bodyend="195"/>
76 <memberdef kind="function" id="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1aa4ea6f887dbe3817949259c4193355c3" prot="public" static="yes" const="no" explicit="no" inline="yes" virt="non-virtual">
78 <definition>static bool boost::geometry::strategy::centroid::bashein_detmer< Point, PointOfSegment, CalculationType >::result</definition>
79 <argsstring>(sums const &state, Point &centroid)</argsstring>
82 <type>sums const &</type>
83 <declname>state</declname>
86 <type>Point &</type>
87 <declname>centroid</declname>
92 </detaileddescription>
95 <location file="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" line="197" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" bodystart="197" bodyend="225"/>
99 <para>Centroid calculation using algorithm Bashein / Detmer. </para> </briefdescription>
100 <detaileddescription>
101 <para>Calculates centroid using triangulation method published by Bashein / Detmer <parameterlist kind="templateparam"><parameteritem>
103 <parametername>Point</parametername>
105 <parameterdescription>
106 <para>point type of centroid to calculate </para></parameterdescription>
110 <parametername>PointOfSegment</parametername>
112 <parameterdescription>
113 <para>point type of segments, defaults to Point </para></parameterdescription>
117 <parametername>CalculationType</parametername>
119 <parameterdescription>
120 <para>numeric type for calculation (e.g. high precision); if [*void] then it is extracted automatically from the coordinate type and (if necessary) promoted to floating point</para></parameterdescription>
123 <simplesect kind="author"><para>Adapted from "Centroid of a Polygon" by Gerard Bashein and Paul R. Detmer<emphasis>, in "Graphics Gems IV", Academic Press, 1994</emphasis></para></simplesect>
126 [link geometry.reference.algorithms.centroid.centroid_3_with_strategy centroid (with strategy)]
127 </qbk> </para> </detaileddescription>
128 <location file="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" line="128" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/strategies/cartesian/centroid_bashein_detmer.hpp" bodystart="127" bodyend="227"/>
130 <member refid="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a3ac9cabcaceb2dd6691c043c90956164" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::centroid::bashein_detmer</scope><name>apply</name></member>
131 <member refid="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a9e09dd4618f4143f02ebdfd3d255564b" prot="private" virt="non-virtual"><scope>boost::geometry::strategy::centroid::bashein_detmer</scope><name>calculation_type</name></member>
132 <member refid="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1aa4ea6f887dbe3817949259c4193355c3" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::centroid::bashein_detmer</scope><name>result</name></member>
133 <member refid="classboost_1_1geometry_1_1strategy_1_1centroid_1_1bashein__detmer_1a1d72fc25ea074c7ff644c192f78480d3" prot="public" virt="non-virtual"><scope>boost::geometry::strategy::centroid::bashein_detmer</scope><name>state_type</name></member>