cgal/Polygon/doc_tex/Polygon_ref/bottom_vertex_2.tex

65 lines
2.0 KiB
TeX

% +------------------------------------------------------------------------+
% | Reference manual page: bottom_vertex_2.tex
% +------------------------------------------------------------------------+
% | 21.06.2001 Author
% | Package: Polygon
% |
\RCSdef{\RCSbottomvertexRev}{$Id$}
\RCSdefDate{\RCSbottomvertexDate}{$Date$}
% |
%%RefPage: end of header, begin of main body
% +------------------------------------------------------------------------+
\begin{ccRefFunction}{bottom_vertex_2} %% add template arg's if necessary
%% \ccHtmlCrossLink{} %% add further rules for cross referencing links
%% \ccHtmlIndexC[function]{} %% add further index entries
\ccDefinition
%The function \ccRefName\ does this and that.
\ccInclude{CGAL/Polygon_2_algorithms.h}
\ccFunction{template <class ForwardIterator, class Traits>
ForwardIterator bottom_vertex_2(ForwardIterator first,
ForwardIterator last,
const Traits& traits);}
{
Returns an iterator to the bottommost point from the range
\ccStyle{[first,last)}. In case of a tie, the point
with the smallest \ccStyle{x}-coordinate is taken.
}
\ccHeading{Requirements}
\ccIndexSubitem[C]{bottom_vertex_2}{requirements}
\begin{enumerate}
\item \ccc{Traits} is a model of the concept
PolygonTraits\_2\ccIndexMainItem[c]{PolygonTraits_2}.
In fact, only the members \ccc{Less_yx_2} and
\ccc{less_yx_2_object} are used.
\item \ccc{ForwardIterator::value_type} should be \ccc{Traits::Point_2},
\end{enumerate}
\ccSeeAlso
\ccRefIdfierPage{CGAL::left_vertex_2} \\
\ccRefIdfierPage{CGAL::right_vertex_2} \\
\ccRefIdfierPage{CGAL::top_vertex_2} \\
\ccRefIdfierPage{CGAL::Polygon_2<PolygonTraits_2, Container>} \\
\ccRefIdfierPage{PolygonTraits_2}
\ccExample
%% \ccIncludeExampleCode{examples/Polygon/bottom_vertex_2_prog.C}
\end{ccRefFunction}
% +------------------------------------------------------------------------+
%%RefPage: end of main body, begin of footer
% EOF
% +------------------------------------------------------------------------+