Package jgl.glu
Class nurbs_knot
java.lang.Object
jgl.glu.nurbs_knot
nurbs_knot is one of the GLU NURBS class of JavaGL 2.1.
- Version:
- 0.1, 2 Nov 1999
- Author:
- Robin Bing-Yu Chen
-
Field Summary
Modifier and TypeFieldDescriptionfloat[][]
int
float[]
float[]
int
int
int
int
float[]
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
calc_new_ctrl_pts
(float[][] ctrl, int stride, int dim, float[][][] new_ctrl, int ctrl_i) void
collect
(nurbs_knot src, float max_min, float min_max) void
explode()
int
void
set_knot_min_max
(float max_min, float min_max) void
set_new_min_max
(float max_min, float min_max)
-
Field Details
-
knot
public float[] knot -
nknots
public int nknots -
unified_knot
public float[] unified_knot -
unified_nknots
public int unified_nknots -
order
public int order -
t_min
public int t_min -
t_max
public int t_max -
delta_nknots
public int delta_nknots -
new_knot
public float[] new_knot -
alpha
public float[][] alpha
-
-
Constructor Details
-
nurbs_knot
public nurbs_knot()
-
-
Method Details
-
calc_new_ctrl_pts
public int calc_new_ctrl_pts(float[][] ctrl, int stride, int dim, float[][][] new_ctrl, int ctrl_i) -
calc_alphas
public void calc_alphas() -
explode
public void explode() -
set_knot_min_max
public void set_knot_min_max(float max_min, float min_max) -
set_new_min_max
public void set_new_min_max(float max_min, float min_max) -
collect
-
fill
-