Package jgl.glu
Class nurbs_knot
- java.lang.Object
-
- jgl.glu.nurbs_knot
-
public class nurbs_knot extends Object
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
Fields Modifier and Type Field Description float[][]
alpha
int
delta_nknots
float[]
knot
float[]
new_knot
int
nknots
int
order
int
t_max
int
t_min
float[]
unified_knot
int
unified_nknots
-
Constructor Summary
Constructors Constructor Description nurbs_knot()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
calc_alphas()
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
fill(nurbs_obj obj)
void
set_knot_min_max(float max_min, float min_max)
void
set_new_min_max(float max_min, float min_max)
-
-
-
Field Detail
-
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
-
-
Method Detail
-
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
public void collect(nurbs_knot src, float max_min, float min_max)
-
fill
public int fill(nurbs_obj obj)
-
-