Class TSTileC

java.lang.Object
  extended by TSTileC

 class TSTileC
extends java.lang.Object

.

======================================================================
 Class TSTileC -- Controldefinition of Quad-structure.
 This class is only used when tile-definitions are written to
  file.
 ##TSTileC (Eyecatcher)
======================================================================
 


Field Summary
private  TSTileC[] Chld
           
protected static java.lang.String IdStr
           
private  TSTileC Nxt
           
private  int Ql
           
private  int Qx
           
private  int Qz
           
private  TSTile Tle
           
 
Constructor Summary
protected TSTileC()
          .
protected TSTileC(int qx, int qz, int ql)
          .
protected TSTileC(int qx, int qz, int ql, TSTile tle)
          .
 
Method Summary
protected  TSTileC chgChld(int ix, TSTileC cq)
          .
protected  TSTileC chgNxt(TSTileC cq)
          .
protected  boolean chkQl(int ql)
          .
protected  TSTileC clear()
          .
protected  java.lang.String getId(int t)
          .
protected  boolean isLeaf()
          .
protected  boolean isTile(int qx, int qz)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IdStr

protected static final java.lang.String IdStr
See Also:
Constant Field Values

Qx

private int Qx

Qz

private int Qz

Ql

private int Ql

Nxt

private TSTileC Nxt

Chld

private TSTileC[] Chld

Tle

private TSTile Tle
Constructor Detail

TSTileC

protected TSTileC()
.
=====================================================================
 Constructor: (1) Create default-entry
=====================================================================
  


TSTileC

protected TSTileC(int qx,
                  int qz,
                  int ql)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  


TSTileC

protected TSTileC(int qx,
                  int qz,
                  int ql,
                  TSTile tle)
.
=====================================================================
 Constructor: (3) Create connection-entry
=====================================================================
  

Method Detail

chgChld

protected TSTileC chgChld(int ix,
                          TSTileC cq)
.
=====================================================================
 Methode "chgChld"
 Tile-Verkettung anpassen (holen/setzen)
 ##chgChld.TSTileC (Eyecatcher)
=====================================================================
  


chgNxt

protected TSTileC chgNxt(TSTileC cq)
.
=====================================================================
 Methode "chgNxt"
 Naechstes Element in TileC-Verkettung holen/setzen
 ##chgNxt.TSTileC (Eyecatcher)
=====================================================================
  


chkQl

protected boolean chkQl(int ql)
.
=====================================================================
 Methode "chkQl"
 vergleichen und Pruefen Kantenlaenge eines Quadrates
 Methode liefert 'true' wenn die Kantenlaenge des Tiles GROESSER
   als der angegebene Vergleichswert (ql = 2**n) ist.
 ##chkQl.TSTileC (Eyecatcher)
=====================================================================
  


clear

protected TSTileC clear()
.
=====================================================================
 Methode "clear"
 ALLE Referenzen loeschen und
  naechstes Element in TileC-Verkettung liefern
 ##clear.TSTileC (Eyecatcher)
=====================================================================
  


getId

protected java.lang.String getId(int t)
.
=====================================================================
 Methode "getId"
 (modifizierte) Id des Quadranten in Stringform liefern
 ##getId.TSTileC (Eyecatcher)
=====================================================================
  


isLeaf

protected boolean isLeaf()
.
=====================================================================
 Methode "isLeaf"
 Pruefen ob, letztes (Blatt-) Element der Kette vorliegt
 ##isLeaf.TSTileC (Eyecatcher)
=====================================================================
  


isTile

protected boolean isTile(int qx,
                         int qz)
.
=====================================================================
 Methode "isTile"
 pruefen ob geforderte 'Tile'-Definition vorliegt
 ##isTile.TSTileC (Eyecatcher)
=====================================================================
  


toStr

protected java.lang.String toStr()
.
=====================================================================
 Method "toStr"
 Build a string-representation of all values of this class
 ##toStr.TSTileC (Eyecatcher)
=====================================================================