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

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

public class Curve
extends Object

Class holding curve definition

Author:
Tomáš Hráský

Field Summary
 Curve next
          Next curve in linked list
 float stepsize
          Subdivision stepsize
 
Constructor Summary
Curve(Quilt geo, float[] pta, float[] ptb, Curve c)
          Makes new Curve
 
Method Summary
 void clamp()
          Clamps the curve
 int cullCheck()
          Checks culling type
 void getStepSize()
          Computes subdivision step size
 boolean needsSamplingSubdivision()
          Tells whether curve needs subdivision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

next

public Curve next
Next curve in linked list


stepsize

public float stepsize
Subdivision stepsize

Constructor Detail

Curve

public Curve(Quilt geo,
             float[] pta,
             float[] ptb,
             Curve c)
Makes new Curve

Parameters:
geo -
pta -
ptb -
c - next curve in linked list
Method Detail

cullCheck

public int cullCheck()
Checks culling type

Returns:
Subdivider.CULL_ACCEPT

getStepSize

public void getStepSize()
Computes subdivision step size


clamp

public void clamp()
Clamps the curve


needsSamplingSubdivision

public boolean needsSamplingSubdivision()
Tells whether curve needs subdivision

Returns:
curve needs subdivison


Copyright 2010 JogAmp Community.