|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opengl.impl.glu.nurbs.CArrayOfArcs
public class CArrayOfArcs
Class replacing C language pointer
Constructor Summary | |
---|---|
CArrayOfArcs(Arc[] ctlarray)
Makes new CArray with pointer set to 0 |
|
CArrayOfArcs(Arc[] array,
int pointer)
Makes new CArray |
|
CArrayOfArcs(CArrayOfArcs carray)
Makes new CArray from other CArray |
Method Summary | |
---|---|
Arc |
get()
Returns element at pointer |
Arc |
get(int i)
Returns array element at specified index |
Arc[] |
getArray()
Returns underlaying array |
int |
getPointer()
Returns pointer value |
Arc |
getRelative(int i)
Returns array element at specified index relatively to pointer |
void |
lessenPointerBy(int i)
Lessens pointer by value |
void |
mm()
Lessens ponter by one (--) |
void |
pp()
Increases pointer by one (++) |
void |
raisePointerBy(int i)
Raises pointer by value |
void |
set(Arc f)
Sets element at pointer |
void |
setArray(Arc[] array)
Sets underlaying array |
void |
setPointer(int pointer)
Sets ponter value |
void |
setRelative(int i,
Arc value)
Sets value of element at specified index relatively to pointer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CArrayOfArcs(Arc[] array, int pointer)
array
- underlaying arraypointer
- pointer (index) to arraypublic CArrayOfArcs(CArrayOfArcs carray)
carray
- reference arraypublic CArrayOfArcs(Arc[] ctlarray)
ctlarray
- underlaying arrayMethod Detail |
---|
public Arc get()
public void pp()
public void set(Arc f)
f
- desired valuepublic Arc get(int i)
i
- array index
public Arc getRelative(int i)
i
- relative index
public void setRelative(int i, Arc value)
i
- relative indexvalue
- value to be setpublic void lessenPointerBy(int i)
i
- lessen bypublic int getPointer()
public void setPointer(int pointer)
pointer
- pointer value to be setpublic void raisePointerBy(int i)
i
- raise bypublic void mm()
public Arc[] getArray()
public void setArray(Arc[] array)
array
- underlaying array
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |