com.jogamp.opengl.impl.glu.nurbs
Class Flist

java.lang.Object
  extended by com.jogamp.opengl.impl.glu.nurbs.Flist

public class Flist
extends Object

List of breakpoints

Author:
Tomas Hrasky

Field Summary
 int end
          Data elements end index
 float[] pts
          Breakpoint values
 int start
          Data elements start index
 
Constructor Summary
Flist()
           
 
Method Summary
 void add(float f)
          Adds breakpoint value
 void filter()
          Removes duplicate array elemnts
 void grow(int maxpts)
          Grows list
 void taper(float from, float to)
          Sets start and and to real start and end of array elements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

end

public int end
Data elements end index


start

public int start
Data elements start index


pts

public float[] pts
Breakpoint values

Constructor Detail

Flist

public Flist()
Method Detail

grow

public void grow(int maxpts)
Grows list

Parameters:
maxpts - maximum desired size

filter

public void filter()
Removes duplicate array elemnts


taper

public void taper(float from,
                  float to)
Sets start and and to real start and end of array elements

Parameters:
from - start from
to - end at

add

public void add(float f)
Adds breakpoint value

Parameters:
f - value


Copyright 2010 JogAmp Community.