artisynth.core.util
Class JythonInit

java.lang.Object
  extended by artisynth.core.util.JythonInit

public class JythonInit
extends java.lang.Object


Method Summary
static org.python.core.PyStringMap getArtisynthLocals()
          Returns a copy of the base set of local symbols used by ArtiSynth jython, including an import of maspack.matrix and the definitions needed for matrix operator overloading.
static void init()
           
static boolean jythonIsAvailable()
          Returns true if Jython is available on this system and false otherwise.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

jythonIsAvailable

public static boolean jythonIsAvailable()
Returns true if Jython is available on this system and false otherwise.

Returns:
true if Jython is available

init

public static void init()

getArtisynthLocals

public static org.python.core.PyStringMap getArtisynthLocals()
Returns a copy of the base set of local symbols used by ArtiSynth jython, including an import of maspack.matrix and the definitions needed for matrix operator overloading.