meshi.geometry
Class ArcCos

java.lang.Object
  extended by meshi.geometry.ArcCos

public class ArcCos
extends java.lang.Object

Class ArcCos.


Field Summary
protected static double[] ACOS_LOOKUP
           
private static boolean debug
           
protected static int LOOKUP_SIZE
           
private static double minusVerySmall
           
static int NUMBER_OF_ITERATIONS
           
private static double small
           
protected static boolean USE_FAST_ARCCOS
           
private static double verySmall
           
 
Constructor Summary
ArcCos()
           
 
Method Summary
static double acos_chebychev(double x)
           
static double acos(double x)
           
static void useFastArcCos()
          Set flag for using fast acos and initialize acos lookup table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

verySmall

private static final double verySmall

minusVerySmall

private static final double minusVerySmall

small

private static final double small

USE_FAST_ARCCOS

protected static boolean USE_FAST_ARCCOS

debug

private static final boolean debug
See Also:
Constant Field Values

LOOKUP_SIZE

protected static int LOOKUP_SIZE

ACOS_LOOKUP

protected static double[] ACOS_LOOKUP

NUMBER_OF_ITERATIONS

public static int NUMBER_OF_ITERATIONS
Constructor Detail

ArcCos

public ArcCos()
Method Detail

useFastArcCos

public static void useFastArcCos()
Set flag for using fast acos and initialize acos lookup table


acos

public static double acos(double x)

acos_chebychev

public static double acos_chebychev(double x)