de.grogra.math
public abstract class SubdivisionHelper extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
degree |
protected int |
dimension |
protected float |
flatness |
protected boolean |
rational |
| Constructor and Description |
|---|
SubdivisionHelper(boolean rational) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isFlat(float distSquared,
float lengthSquared,
int depth) |
protected static void |
subdivide(FloatList v,
int dimension,
int degree,
int step,
int blockCount,
int blockStep,
float[] tmp) |
protected void |
subdivideCurve(FloatList v,
float[] tmp,
int part,
int depth) |
protected abstract void |
visitFlat(float[] v,
int index) |
protected int degree
protected int dimension
protected float flatness
protected final boolean rational
protected boolean isFlat(float distSquared,
float lengthSquared,
int depth)
protected static void subdivide(FloatList v, int dimension, int degree, int step, int blockCount, int blockStep, float[] tmp)
protected void subdivideCurve(FloatList v, float[] tmp, int part, int depth)
protected abstract void visitFlat(float[] v,
int index)