added PWH(polygon pgn) CTOR and fixed outer boundary function description

This commit is contained in:
Guy Zucker 2009-07-22 12:57:01 +00:00
parent fa9c26ebed
commit eb0a9bd393
1 changed files with 4 additions and 1 deletions

View File

@ -43,6 +43,9 @@ the holes.
\ccGlue
\ccMethod{GeneralPolygonWithHoles_2 operator=(other);}{assignment operator.}
\ccConstructor{GeneralPolygonWithHoles_2(General_polygon_2 & outer);}
{constructs a general polygon with holes that has no holes using a given general polygon \ccc{outer} as the outer boundary.}
\ccConstructor{template <class InputIterator>
GeneralPolygonWithHoles_2(General_polygon_2 & outer,
InputIterator begin, InputIterator end);}
@ -62,7 +65,7 @@ otherwise.}
% ================
\ccMethod{const General_polygon_2 & outer_boundary() const;}
{returns the general polygon that represents the outer boundary. }
{returns the general polygon that represents the outer boundary. Note that this polygon is not necessarily a valid (simple) general polygon because it may be relatively simple.}
\ccMethod{Hole_const_iterator holes_begin() const;}