public class HPNormals
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
eps
The Constant eps.
|
static double |
zerotol
The Constant zerotol.
|
Constructor and Description |
---|
HPNormals() |
Modifier and Type | Method and Description |
---|---|
static int |
computeMaximumOnCircle(double[] a,
double[] normal)
Compute maximum on circle.
|
static double |
evalPoly(double[] a,
double t)
Eval poly.
|
static Vec3f[] |
getNormals(int[][] coeff)
Gets the normals.
|
static Vec3f[] |
getNormals(LRGBPTM ptm)
Gets the normals.
|
public static final double zerotol
public static final double eps
public static int computeMaximumOnCircle(double[] a, double[] normal)
a
- the anormal
- the normalpublic static double evalPoly(double[] a, double t)
a
- the at
- the tpublic static Vec3f[] getNormals(int[][] coeff)
coeff
- the coeff