fourierknots/fourier_syn.cpp
void FourierKnot::flip_dir(float sh) {
  if (sh!=0)
    this->shift(sh);
  for (Coeffs::iterator i=csin.begin();i!=csin.end();++i)
    *i = -(*i);
  if (sh!=0)
    this->shift(-sh);
}
// Flips the paramtrization orientation of the curve
Flips the paramtrization orientation of the curve
Flips the paramtrization orientation of the curve
void FourierKnot::flip_dir(float sh) {
  if (sh!=0)
    this->shift(sh);
  for (Coeffs::iterator i=csin.begin();i!=csin.end();++i)
    *i = -(*i);
  if (sh!=0)
    this->shift(-sh);
}
void FourierKnot :: flip_dir ( float sh ) { if ( sh != 0 ) this -> shift ( sh ) ; for ( Coeffs :: iterator i = csin . begin ( ) ; i != csin . end ( ) ; ++ i ) * i = - ( * i ) ; if ( sh != 0 ) this -> shift ( - sh ) ; }
Flips the paramtrization orientation of the curve
Flips the paramtrization orientation of the curve