/* //paragraph [11] Title: [{\Large \bf \begin{center}] [\end{center}}] //[TOC] [\tableofcontents] //[_] [\_] //characters [1] verbatim: [$] [$] //characters [2] formula: [$] [$] //characters [3] capital: [\textsc{] [}] //characters [4] teletype: [\texttt{] [}] [11] General Tree Algebra [TOC] \newpage 1 Overview This algebra provides the "distdata"[4], "hpoint" and "hrect"[4] type constructors and the following operators ("DATA"[4] could be any type constructor). * "getdistdata([_])"[4]\\ Creates "distdata"[4] attributes from any type constructor for which a distdata type is defined in the "DistDataReg"[4] class.\\[1ex] Signature: "DATA -> distdata"[4]\\ Example: "getdistdata(5)"[4] * "getdistdata2([_], [_])"[4]\\ Like above, but allows to select another than the default distdata type for the resp. type constructor.\\[1ex] Signature: "DATA x -> distdata"[4]\\ Example: "getdistdata2(2.5, default)"[4] * "gethpoint([_])"[4]\\ Creates "hpoint"[4] attributes from any type constructor for which a gethpoint function is defined in the "HPointReg"[4] class.\\[1ex] Signature: "DATA -> hpoint"[4]\\ Example: "gethpoint(2.5)"[4] * "gethpoint2([_], [_])"[4]\\ Like above, but allows to use another than the default gethpoint function for the resp. type constructor.\\[1ex] Signature: "DATA x -> hpoint"[4]\\ Example: "gethpoint2(2.5, default)"[4] * "getbbox([_])"[4]\\ Creates "hrect"[4] attributes from any type constructor for which a getbbox function is defined in the "BBoxReg"[4] class.\\[1ex] Signature: "DATA -> hrect"[4]\\ Example: "getbbox(2.5)"[4] * "getbbox2([_], [_])"[4]\\ Like above, but allows to use another than the default getbbox function for the resp. type constructor.\\[1ex] Signature: "DATA x -> hrect"[4]\\ Example: "getbbox2(2.5, default)"[4] * "gdistance([_], [_])"[4]\\ Computes the distance between two attributes of the same type - a distance function for the resp. type constructor must be defined in the "DistfunReg" class.\\[1ex] Signature: "DATA x DATA -> real"[4]\\ Example: "gdistance(2.5, 7.5)"[4] * "gdistance2([_], [_], [_])"[4]\\ Like above, but allows to select another than the default distance function for the resp. type constructor.\\[1ex] Signature: "DATA x DATA x -> real "[4]\\ Example: "gdistance2(2.5, 7.5, euclid)"[4] * "gdistance3([_], [_], [_], [_])"[4]\\ Like above, but allows to select another than the default distance function and another than the default distdata type for the resp. type constructor.\\[1ex] Signature: "DATA x x -> real"[4]\\ Example: "gdistance3(2.5, 7.5, euclid, native)"[4] */