public class Quadric
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static float[] |
crtval |
boolean |
isThermalEllipsoid |
float[] |
lengths |
private static float |
ONE_OVER_ROOT2_PI |
float |
scale |
javax.vecmath.Vector3f[] |
vectors |
Constructor and Description |
---|
Quadric(double[] bcart) |
Quadric(javax.vecmath.Vector3f[] vectors,
float[] lengths,
boolean isThermal) |
Modifier and Type | Method and Description |
---|---|
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 float |
getRadius(int prob) |
void |
rotate(javax.vecmath.Matrix4f mat) |
void |
scale(float f) |
static javax.vecmath.Matrix3f |
setEllipsoidMatrix(javax.vecmath.Vector3f[] unitAxes,
float[] lengths,
javax.vecmath.Vector3f vTemp,
javax.vecmath.Matrix3f mat) |
void |
setSize(int size) |
java.lang.String |
toString() |
public float[] lengths
public javax.vecmath.Vector3f[] vectors
public boolean isThermalEllipsoid
public float scale
private static float ONE_OVER_ROOT2_PI
private static float[] crtval
public Quadric(javax.vecmath.Vector3f[] vectors, float[] lengths, boolean isThermal)
public Quadric(double[] bcart)
public void scale(float f)
public java.lang.String toString()
toString
in class java.lang.Object
public void rotate(javax.vecmath.Matrix4f mat)
public void setSize(int size)
public static void getAxesForEllipsoid(double[] coef, javax.vecmath.Vector3f[] unitVectors, float[] lengths)
public static javax.vecmath.Matrix3f setEllipsoidMatrix(javax.vecmath.Vector3f[] unitAxes, float[] lengths, javax.vecmath.Vector3f vTemp, javax.vecmath.Matrix3f mat)
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)
public static boolean getQuardricZ(double x, double y, double[] coef, double[] zroot)
public static int getOctant(javax.vecmath.Point3f pt)
public static final float getRadius(int prob)