|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object common:Array reb:MobiusArray
class
class for Mobius Transformation arrays
class MobiusArray(Array) { ; class for Mobius Transformation arrays public: import "common.ulb" ; Constructor for Mobius arrays ; @param plength = sets the size of the array func MobiusArray(int plength) setLength(m_T, plength) endfunc ; Get array length int func GetArrayLength() return length(m_T) endfunc ; Set array length func SetArrayLength(int plength) setLength(m_T, plength) endfunc ; Copy array func Copy(MobiusArray &dest) int l = this.GetArrayLength() if (dest == 0) dest = new MobiusArray(l) else dest.SetArrayLength(l) endif int j = 0 while (j < l) dest.m_T[j] = m_T[j] j = j + 1 endwhile endfunc Mobius m_T[] default: title = "Mobius Array" int param v_mobiusarray caption = "Version (Mobius Array)" default = 100 hint = "This version parameter is used to detect when a change has been made to the formula that is incompatible with the previous version. When that happens, this field will reflect the old version number to alert you to the fact that an alternate rendering is being used." visible = @v_mobiusarray < 100 endparam }
Constructor Summary | |
---|---|
MobiusArray()
|
|
MobiusArray(int plength)
Constructor for Mobius arrays |
Method Summary | |
---|---|
void |
Copy(MobiusArray dest)
Copy array |
int |
GetArrayLength()
Get array length |
void |
SetArrayLength(int plength)
Set array length |
Methods inherited from class Object |
---|
|
Constructor Detail |
---|
public MobiusArray(int plength)
plength
- = sets the size of the arraypublic MobiusArray()
Method Detail |
---|
public int GetArrayLength()
GetArrayLength
in class Array
public void SetArrayLength(int plength)
SetArrayLength
in class Array
plength
- new length of the arraypublic void Copy(MobiusArray dest)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |