org.jmol.util

Class Quadric

public class Quadric extends Object

Method Summary
static voidgetAxesForEllipsoid(double[] coef, Vector3f[] unitVectors, float[] lengths)
static voidgetEquationForQuadricWithCenter(float x, float y, float z, Matrix3f mToElliptical, Vector3f vTemp, Matrix3f mTemp, double[] coef, Matrix4f mDeriv)
static intgetOctant(Point3f pt)
static booleangetQuardricZ(double x, double y, double[] coef, double[] zroot)
static Matrix3fsetEllipsoidMatrix(Vector3f[] unitAxes, float[] lengths, Vector3f vTemp, Matrix3f mat)

Method Detail

getAxesForEllipsoid

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

getEquationForQuadricWithCenter

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

getOctant

public static int getOctant(Point3f pt)

getQuardricZ

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

setEllipsoidMatrix

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