Class TSSect

java.lang.Object
  extended by TSSc
      extended by TSSect
All Implemented Interfaces:
java.io.Serializable

 class TSSect
extends TSSc

.

======================================================================
 Klasse TSSect -- Definition eines Section-Eintrags
 ##TSSect (Eyecatcher)
======================================================================
 


Field Summary
protected static java.lang.String IdStr
           
private  int Nr
           
private  int Nxt
           
private  TSSect ScR
           
private  double ScW0
           
private  double ScW1
           
private  double ScW2
           
private  double ScW3
           
 
Constructor Summary
protected TSSect()
          .
protected TSSect(int nr, double sw0, double sw1)
          .
 
Method Summary
protected  int $dIx(int nIx)
          .
protected  void $reNew(int nr)
          .
protected  boolean chgWS(boolean set)
          .
protected  boolean cmpDef(TSSect cs, boolean ex)
          .
protected  double getAng()
          .
protected  double getLR()
          .
protected  int getNr(boolean orig)
          .
protected  java.lang.String setCrv(double sw0, double sw1)
          .
protected  TSSect setScR(TSSect sc)
          .
protected  java.lang.String setSkew(double sv)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class TSSc
incCntS, incCntW
 
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

Nr

private int Nr

Nxt

private int Nxt

ScW0

private double ScW0

ScW1

private double ScW1

ScW2

private double ScW2

ScW3

private double ScW3

ScR

private TSSect ScR
Constructor Detail

TSSect

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


TSSect

protected TSSect(int nr,
                 double sw0,
                 double sw1)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  

Method Detail

$dIx

protected final int $dIx(int nIx)
.
=====================================================================
 Methode "$dIx"
 Differerenz-Eintrag setzen/abfragen
 ##$dIx.TSSect (Eyecatcher)
=====================================================================
  


$reNew

protected final void $reNew(int nr)
.
=====================================================================
 Methode "$reNew"
 neuen Section-Eintrag erstellen (Kopie) ohne Adress-Aenderung
 ##$reNew.TSSect (Eyecatcher)
=====================================================================
  


chgWS

protected final boolean chgWS(boolean set)
.
=====================================================================
 Methode "chgWS"
 Change current marker of 'waterscoop'-attribute
 ##chgWS.TSSect (Eyecatcher)
=====================================================================
  


cmpDef

protected final boolean cmpDef(TSSect cs,
                               boolean ex)
.
=====================================================================
 Method "cmpDef"
 Compare section-definitions.
 Method returns 'true' if a match is NOT found (identical/similiar).
 ##cmpDef.TSSect (Eyecatcher)
=====================================================================
  


getAng

protected final double getAng()
.
=====================================================================
 Method "getAng"
 Method returns current angle of the section-definition.
 Angle is converted into 'radian'
 Method returns '0' if it is a 'straight-section'
 Method returns 'NaN' if an error is found
 ##getAng.TSSect (Eyecatcher)
=====================================================================
  

Overrides:
getAng in class TSSc

getLR

protected final double getLR()
.
=====================================================================
 Method "getLR"
 Method returns current Length/Radius of the section-definition
 Method returns 'NaN' if an error is found
 ##getLR.TSSect (Eyecatcher)
=====================================================================
  

Overrides:
getLR in class TSSc

getNr

protected final int getNr(boolean orig)
.
=====================================================================
 Methode "getNr"
 neue/aktuelle Nummer der Section-Definition holen
 ##getNr.TSSect (Eyecatcher)
=====================================================================
  

Overrides:
getNr in class TSSc

setCrv

protected final java.lang.String setCrv(double sw0,
                                        double sw1)
.
=====================================================================
 Methode "setCrv"
 Change current section to 'curve'-section
 ##setCrv.TSSect (Eyecatcher)
=====================================================================
  


setScR

protected final TSSect setScR(TSSect sc)
.
=====================================================================
 Methode "setScR"
 Referenz zu zugeordnetem TSSect-Eintrag setzen
 Achtung: Methode kann Zielreferenz loeschen (sc=='null')
 ##setScR.TSSect (Eyecatcher)
=====================================================================
  


setSkew

protected final java.lang.String setSkew(double sv)
.
=====================================================================
 Methode "setSkew"
 Add 'Skew'-value to current section
 ##setSkew.TSSect (Eyecatcher)
=====================================================================
  


toStr

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

Overrides:
toStr in class TSSc