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