Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

jitter.h

00001 /********************************************************************************
00002 *                                                                               *
00003 *                    G a u s s i a n   J i t t e r   T a b l e                  *
00004 *                                                                               *
00005 *********************************************************************************
00006 * Copyright (C) 1995,2002 by Jeroen van der Zijp.   All Rights Reserved.        *
00007 *********************************************************************************
00008 * This library is free software; you can redistribute it and/or                 *
00009 * modify it under the terms of the GNU Lesser General Public                    *
00010 * License as published by the Free Software Foundation; either                  *
00011 * version 2.1 of the License, or (at your option) any later version.            *
00012 *                                                                               *
00013 * This library is distributed in the hope that it will be useful,               *
00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of                *
00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU             *
00016 * Lesser General Public License for more details.                               *
00017 *                                                                               *
00018 * You should have received a copy of the GNU Lesser General Public              *
00019 * License along with this library; if not, write to the Free Software           *
00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.    *
00021 *********************************************************************************
00022 * $Id: jitter.h,v 1.5 2002/01/18 22:43:08 jeroen Exp $                          *
00023 ********************************************************************************/
00024 
00025 #define JIT8   1
00026 
00027 /* Points gaussian distributed in range -0.5<X<0.5, -0.5<Y<0.5 */
00028 
00029 #ifdef JIT8
00030 double jitter[][2] = {          // Eight
00031   {-0.334818,  0.435331},
00032   { 0.286438, -0.393495},
00033   { 0.459462,  0.141540},
00034   {-0.414498, -0.192829},
00035   {-0.183790,  0.082102},
00036   {-0.079263, -0.317383},
00037   { 0.102254,  0.299133},
00038   { 0.164216, -0.054399}
00039   };
00040 #endif
00041 
00042 #ifdef JIT15
00043 double jitter[][2] = {          // fifteen
00044   { 0.285561,  0.188437},
00045   { 0.360176, -0.065688},
00046   {-0.111751,  0.275019},
00047   {-0.055918, -0.215197},
00048   {-0.080231, -0.470965},
00049   { 0.138721,  0.409168},
00050   { 0.384120,  0.458500},
00051   {-0.454968,  0.134088},
00052   { 0.179271, -0.331196},
00053   {-0.307049, -0.364927},
00054   { 0.105354, -0.010099},
00055   {-0.154180,  0.021794},
00056   {-0.370135, -0.116425},
00057   { 0.451636, -0.300013},
00058   {-0.370610,  0.387504}
00059   };
00060 #endif