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

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

public class Curvelist
extends Object

Class for woking with linked list of curves

Author:
Tomas Hrasky

Field Summary
 float stepsize
          Subdivision step size
 
Constructor Summary
Curvelist(Quilt qlist, float[] pta, float[] ptb)
          Makes new instance on top of specified lis of Quilts
 
Method Summary
 int cullCheck()
          Checks for culling
 void getstepsize()
          Compute step size
 boolean needsSamplingSubdivision()
          Indicates whether curves need subdivision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stepsize

public float stepsize
Subdivision step size

Constructor Detail

Curvelist

public Curvelist(Quilt qlist,
                 float[] pta,
                 float[] ptb)
Makes new instance on top of specified lis of Quilts

Parameters:
qlist - underlaying list of quilts
pta - range start
ptb - range end
Method Detail

getstepsize

public void getstepsize()
Compute step size


needsSamplingSubdivision

public boolean needsSamplingSubdivision()
Indicates whether curves need subdivision

Returns:
curves need subdivision

cullCheck

public int cullCheck()
Checks for culling

Returns:
Subdivider.CULL_TRIVIAL_REJECT or Subdivider.CULL_ACCEPT


Copyright 2010 JogAmp Community.