public static Tile CreateBaseTile( TilingConfig config )
{
Polygon boundary = new Polygon(), drawn = new Polygon();
boundary.CreateRegular( config.P, config.Q );
drawn = boundary.Clone();
//boundary.CreateRegular( 3, 10 );
//drawn.CreateRegular( 3, 8 );
//boundary.CreateRegular( 3, 7 );
//drawn = Heart();
//for( int i=0; i<drawn.NumSides; i++ )
// drawn.Segments[i].Center *= 0.1;
// Good combos:
// ( 5, 5 ), ( 10, 10 )
// ( 3, 10 ), ( 3, 9 )
// ( 6, 4 ), ( 6, 8 )
// ( 7, 3 ), ( 7, 9 )
Tile tile = new Tile( boundary, drawn, config.Geometry );
Tile.ShrinkTile( ref tile, config.Shrink );
return tile;
}