/*************************************************************************** star.cpp - description ------------------- begin : july 2nd, 2006 copyright : (C) 2006 by Frederic RODRIGO email : f.rodrigo free.fr $Id: star.cpp 373 2008-10-11 21:32:54Z neoneurone $ ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * any later version. * * * ***************************************************************************/ #include "star.h" namespace Triangulation { Triangle* Star::process( const uint nVertex, const Vertex* vertex ) const { Triangle *triangle = new Triangle[nVertex-2]; for ( uint i=1; i