25 for (
int i=0; i<c.
nv(); i++)
33 return a_segment(this->
v(i%n),this->
v((i+1)%n));
39 const int n = this->
nv();
47 a_point p1 = this->
v(i);
48 a_segment s1(p1,this->
v(i+1));
49 a_point d1 = s1.dir();
55 a_segment s2(p1,this->
v(k));
56 a_point d2 = s2.dir();
74 for (
int i=0; i<
nv; i++)
84 o << this->
nv() <<
" ";
85 for (
int i=0; i<this->
nv(); i++)
86 o << this->
v(i) <<
" ";