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