org.jmol.util
Class Quadric

java.lang.Object
  extended by org.jmol.util.Quadric

public class Quadric
extends Object


Constructor Summary
Quadric()
           
 
Method Summary
static void getAxesForEllipsoid(double[] coef, Vector3f[] unitVectors, float[] lengths)
           
static void getEquationForQuadricWithCenter(float x, float y, float z, Matrix3f mToElliptical, Vector3f vTemp, Matrix3f mTemp, double[] coef, Matrix4f mDeriv)
           
static int getOctant(Point3f pt)
           
static boolean getQuardricZ(double x, double y, double[] coef, double[] zroot)
           
static Matrix3f setEllipsoidMatrix(Vector3f[] unitAxes, float[] lengths, Vector3f vTemp, Matrix3f mat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quadric

public Quadric()
Method Detail

getAxesForEllipsoid

public static void getAxesForEllipsoid(double[] coef,
                                       Vector3f[] unitVectors,
                                       float[] lengths)

setEllipsoidMatrix

public static Matrix3f setEllipsoidMatrix(Vector3f[] unitAxes,
                                          float[] lengths,
                                          Vector3f vTemp,
                                          Matrix3f mat)

getEquationForQuadricWithCenter

public static void getEquationForQuadricWithCenter(float x,
                                                   float y,
                                                   float z,
                                                   Matrix3f mToElliptical,
                                                   Vector3f vTemp,
                                                   Matrix3f mTemp,
                                                   double[] coef,
                                                   Matrix4f mDeriv)

getQuardricZ

public static boolean getQuardricZ(double x,
                                   double y,
                                   double[] coef,
                                   double[] zroot)

getOctant

public static int getOctant(Point3f pt)