Package jgl.glu

Class 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 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
    • Constructor Detail

      • nurbs_knot

        public nurbs_knot()
    • 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)