static double twoPi() {
  ret Math.PI*2;
}