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

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

public class Maplist
extends Object

Class holding list of Mapdescs

Author:
Tomáš Hráský

Constructor Summary
Maplist(Backend backend)
          Makes new Maplist
 
Method Summary
 void define(int type, int rational, int ncoords)
          Defines new Mapdesc if it is not defined and appends it to linked list
 Mapdesc find(int type)
          Alias for locate
 void initialize()
          Sets linked list beginning to null
 Mapdesc locate(int type)
          Tries to find Mapdesc in linked list
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Maplist

public Maplist(Backend backend)
Makes new Maplist

Parameters:
backend - Backend class
Method Detail

initialize

public void initialize()
Sets linked list beginning to null


define

public void define(int type,
                   int rational,
                   int ncoords)
Defines new Mapdesc if it is not defined and appends it to linked list

Parameters:
type - map type
rational - is map rational
ncoords - number of coords

locate

public Mapdesc locate(int type)
Tries to find Mapdesc in linked list

Parameters:
type - map type
Returns:
Mapdesc of type or null if there is no such map

find

public Mapdesc find(int type)
Alias for locate

Parameters:
type - maptype
Returns:
Mapdesc of type or null if there is no such map


Copyright 2010 JogAmp Community.