From db4e2de148a1cdca0ebb9b96dfd9949d1482c292 Mon Sep 17 00:00:00 2001 From: Geert-Jan Giezeman Date: Wed, 6 Oct 1999 11:23:41 +0000 Subject: [PATCH] added constructor from circulator --- Packages/Polygon/doc_tex/Polygon/polygon.tex | 8 ++++++++ Packages/Polygon/doc_tex/basic/Polygon/polygon.tex | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/Packages/Polygon/doc_tex/Polygon/polygon.tex b/Packages/Polygon/doc_tex/Polygon/polygon.tex index 193b2dd3de4..663b66531c3 100644 --- a/Packages/Polygon/doc_tex/Polygon/polygon.tex +++ b/Packages/Polygon/doc_tex/Polygon/polygon.tex @@ -145,6 +145,14 @@ Their value type is \ccStyle{Segment_2}. \ccStyle{Point_2}. } + \ccConstructor{template + Polygon_2( ForwardCirculator start); } + { Introduces a polygon \ccVar\ with vertices from the sequence defined by + the range \ccStyle{[start,start]}. + \ccPrecond The value type of points in the range \ccStyle{[first,last)} is + \ccStyle{Point_2}. + } + % \ccHidden\ccDestructor{ ~Polygon_2();}{ destructor } \ccHidden\ccMethod{ Polygon_2& operator=(const diff --git a/Packages/Polygon/doc_tex/basic/Polygon/polygon.tex b/Packages/Polygon/doc_tex/basic/Polygon/polygon.tex index 193b2dd3de4..663b66531c3 100644 --- a/Packages/Polygon/doc_tex/basic/Polygon/polygon.tex +++ b/Packages/Polygon/doc_tex/basic/Polygon/polygon.tex @@ -145,6 +145,14 @@ Their value type is \ccStyle{Segment_2}. \ccStyle{Point_2}. } + \ccConstructor{template + Polygon_2( ForwardCirculator start); } + { Introduces a polygon \ccVar\ with vertices from the sequence defined by + the range \ccStyle{[start,start]}. + \ccPrecond The value type of points in the range \ccStyle{[first,last)} is + \ccStyle{Point_2}. + } + % \ccHidden\ccDestructor{ ~Polygon_2();}{ destructor } \ccHidden\ccMethod{ Polygon_2& operator=(const